• 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()

Topics

  • Source

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

Looking for More Help?

If you have looked through the documentation and knowledgebase and still have questions, then reach out to our friendly support staff–while we won't do custom development for you, we will help nudge you in the right direction.

Open Ticket Ask Question Free plugin support
The Events Calendar
© The Events Calendar | Terms | Privacy