diff --git src/wp-admin/admin.php src/wp-admin/admin.php
index a3dab04d3d..f70606386e 100644
|
|
|
if ( isset( $plugin_page ) ) { |
| 233 | 233 | /** |
| 234 | 234 | * Used to call the registered callback for a plugin screen. |
| 235 | 235 | * |
| 236 | | * @ignore |
| | 236 | * This hook uses a dynamic hook name, `$page_hook`, which refers to a mixture of plugin |
| | 237 | * page information including: |
| | 238 | * 1. The page type. If the plugin page is registered as a submenu page, such as for |
| | 239 | * Settings, the page type would be 'settings'. Otherwise the type is 'toplevel'. |
| | 240 | * 2. A separator of '_page_'. |
| | 241 | * 3. The plugin basename minus the file extension. |
| | 242 | * |
| | 243 | * Together, the three parts form the `$page_hook`. Citing the example above, |
| | 244 | * the hook name used would be 'load-settings_page_pluginbasename'. |
| | 245 | * |
| | 246 | * @see get_plugin_page_hook() |
| | 247 | * |
| 237 | 248 | * @since 1.5.0 |
| 238 | 249 | */ |
| 239 | 250 | do_action( $page_hook ); |