Pages::is_tec_page( string $page_id = '' )
Define if is a tec
admin page (registered).
Contents
Parameters
- $page_id
-
(string) (Optional) The ID of the page to check if is a
tec
admin page.Default value: ''
Return
(boolean) True if is a tec
admin page, false otherwise.
Source
File: src/Tribe/Admin/Pages.php
public function is_tec_page( $page_id = '' ) { return in_array( $page_id, array_keys( $this->pages ), true ); }
Changelog
Version | Description |
---|---|
4.15.0 | Introduced. |