Settings::is_tec_tickets_settings()

Defines wether the current page is the Event Tickets Settings page.


Return

(boolean)


Top ↑

Source

File: src/Tribe/Admin/Settings.php

	public function is_tec_tickets_settings() {
		$admin_pages = tribe( 'admin.pages' );
		$admin_page  = $admin_pages->get_current_page();

		return ! empty( $admin_page ) && static::$settings_page_id === $admin_page;
	}

Top ↑

Changelog

Changelog
Version Description
5.4.0 Introduced.