load-page-new.php

load-page-new.php

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.1

do_action('load-page-new.php') is found 1 times:

  • /wp-admin/admin.php line 393
    	 * In all other cases, 'load-' . $pagenow should be used instead.
    	 */
    	if ( 'page' === $typenow ) {
    		if ( 'post-new.php' === $pagenow ) {
    			do_action( 'load-page-new.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    		} elseif ( 'post.php' === $pagenow ) {
    			do_action( 'load-page.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    		}
    	} elseif ( 'edit-tags.php' === $pagenow ) {
    		if ( 'category' === $taxnow ) {
    			do_action( 'load-categories.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores