wphooks.info - load-page.php

load-page.php

(trunk - 5.0-alpha-42993)

The hook occurs in the following file:

wp-admin/admin.php:
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
	do_action( "load-{$pagenow}" );

	/*
	 * The following hooks are fired to ensure backward compatibility.
	 * In all other cases, 'load-' . $pagenow should be used instead.
	 */
	if ( $typenow == 'page' ) {
		if ( $pagenow == 'post-new.php' ) {
			do_action( 'load-page-new.php' );
		} elseif ( $pagenow == 'post.php' ) {
			do_action( 'load-page.php' );
		}
	} elseif ( $pagenow == 'edit-tags.php' ) {
		if ( $taxnow == 'category' ) {
			do_action( 'load-categories.php' );
		} elseif ( $taxnow == 'link_category' ) {
			do_action( 'load-edit-link-categories.php' );
		}
	} elseif ( 'term.php' === $pagenow ) {
		do_action( 'load-edit-tags.php' );