tribe_register_provider( string $provider_class )
Registers a service provider in the container.
Contents
Service providers must implement the use ServiceProviderInterface interface or extend the ServiceProvider class.
See also
Parameters
- $provider_class
-
(string) (Required)
Source
File: src/Tribe/Container.php
function tribe_register_provider( $provider_class ) {
$container = Tribe__Container::init();
$container->register( $provider_class );
}