Technical Docs

Search Documentation

Function: tribe_register_provider

Registers a service provider in the container.

Located at src/Tribe/Container.php (Line: 239)

Description

Service providers must implement the

tad_DI52_ServiceProviderInterface

interface or extend the

tad_DI52_ServiceProvider

class.

Parameters summary

(string) $provider_class

Return value summary

(void)

Examples

void tribe_register_provider ( string $provider_class )