• Home
  • Knowledgebase
  • DevDocs
  • Translations
  • Support
  • Live Preview

logo DevDocs

By The Events Calendar
Filter by type:
Skip to content
Filter by type:
Search
Browse: Home / Classes / Tribe_Meta_Box / Tribe_Meta_Box::is_edit_page()
Product: Advanced Post Manager

Tribe_Meta_Box::is_edit_page()


Source

File: lib/tribe-meta-box.php

	public static function is_edit_page() {
		global $pagenow;
		return in_array( $pagenow, array( 'post.php', 'post-new.php' ) );
	}

Expand full source code Collapse full source code

The Events Calendar
  • Home
  • Products
  • Blog
  • Support
© 2023 The Events Calendar Terms and Conditions Privacy