wphooks.info - load-{$plugin_page}

load-{$plugin_page}

(trunk - 5.0-alpha-42719)

The hook occurs in the following file:

wp-admin/admin.php:
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
		 *
		 * The load-* hook fires in a number of contexts. This hook is for plugin screens
		 * where the file to load is directly included, rather than the use of a function.
		 *
		 * The dynamic portion of the hook name, `$plugin_page`, refers to the plugin basename.
		 *
		 * @see plugin_basename()
		 *
		 * @since 1.5.0
		 */
		do_action( "load-{$plugin_page}" );

		if ( ! isset( $_GET['noheader'] ) ) {
			require_once( ABSPATH . 'wp-admin/admin-header.php' );
		}

		if ( file_exists( WPMU_PLUGIN_DIR . "/$plugin_page" ) ) {
			include( WPMU_PLUGIN_DIR . "/$plugin_page" );
		} else {
			include( WP_PLUGIN_DIR . "/$plugin_page" );