Page::get_current_provider()

Get the currently selected provider.


Return

(TECTicketsAdminTicketsstring;)


Top ↑

Source

File: src/Tickets/Admin/Tickets/Page.php

	public static function get_current_provider() {
		$provider_info    = static::get_provider_info();
		$default_provider = empty( $provider_info ) ? '' : addslashes( key( $provider_info ) );
		$current_provider = tribe_get_request_var( static::PROVIDER_KEY, $default_provider );

		return stripslashes( $current_provider );
	}

Top ↑

Changelog

Changelog
Version Description
5.14.0 Introduced.