Used to call the registered callback for a plugin screen.
Description
This hook uses a dynamic hook name, $page_hook, which refers to a mixture of plugin page information including: <ol> <li>The page type. If the plugin page is registered as a submenu page, such as for Settings, the page type would be 'settings'. Otherwise the type is 'toplevel'.</li> <li>A separator of '<em>page</em>'.</li> <li>The plugin basename minus the file extension.</li> </ol> Together, the three parts form the $page_hook. Citing the example above, the hook name used would be 'settings_page_pluginbasename'.
258* the hook name used would be 'settings_page_pluginbasename'.259*260* @see get_plugin_page_hook()261*262* @since 1.5.0263*/264do_action($page_hook);265}else{266if(validate_file($plugin_page)){267wp_die(__('Invalid plugin page.'));268}269270if(!(file_exists(WP_PLUGIN_DIR."/$plugin_page")&&is_file(WP_PLUGIN_DIR."/$plugin_page"))
History
Introduced in 1.5.0. Unchanged from 6.7.7 through 7.1.0.