load-page-new.php
The following hooks are fired to ensure backward compatibility.
Description
do_action( 'load-page-new.php' );
In all other cases, load- . $pagenow
should be used instead.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'load-page-new.php' );
- The following example is for adding a hook callback.
- // define the load-page-new.php callback
- function action_load_page_new_php( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'load-page-new.php', 'action_load_page_new_php', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'load-page-new.php', 'action_load_page_new_php', 10, 0 );
Defined (1)
The action is defined in the following location(s).
- /wp-admin/admin.php
- do_action( 'load-page-new.php' );