Tribe__Main::promoter_connector()
Create the Promoter connector singleton early to allow hook into the filters early.
Add a filter to determine_current_user during the setup of common library.
Return
(void) Internal method without any return.
Source
File: src/Tribe/Main.php
public function promoter_connector() {
tribe_singleton( 'promoter.connector', 'Tribe__Promoter__Connector' );
add_filter(
'determine_current_user',
tribe_callback( 'promoter.connector', 'authenticate_user_with_connector' )
);
}
Changelog
| Version | Description |
|---|---|
| 4.9.20 | Introduced. |