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.


Top ↑

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' )
		);
	}

Top ↑

Changelog

Changelog
Version Description
4.9.20 Introduced.