Automator_Options::is_edit_page( string $new_edit = null )

is_edit_page function to check if the current page is a post edit page


Parameters Parameters

$new_edit

(string) (Optional) what page to check for accepts new

  • new post page ,edit
  • edit post page, null for either

Default value: null


Top ↑

Return Return

(boolean)


Source Source

File: src/core/mu-classes/composite-classes/automator-options.php