tribe_register_provider( string $provider_class )

Registers a service provider in the container.

Service providers must implement the use ServiceProviderInterface interface or extend the ServiceProvider class.

See also


Top ↑

Parameters

$provider_class

(string) (Required)


Top ↑

Source

File: src/Tribe/Container.php

	function tribe_register_provider( $provider_class ) {
		$container = Tribe__Container::init();

		$container->register( $provider_class );
	}