Pages::is_tec_page( string $page_id = '' )

Define if is a tec admin page (registered).


Parameters #

$page_id

(string) (Optional) The ID of the page to check if is a tec admin page.

Default value: ''


Top ↑

Return #

(boolean) True if is a tec admin page, false otherwise.


Top ↑

Source #

File: src/Tribe/Admin/Pages.php

	public function is_tec_page( $page_id = '' ) {
		return in_array( $page_id, array_keys( $this->pages ), true );
	}

Top ↑

Changelog #

Changelog
Version Description
4.15.0 Introduced.