Changeset 30649 for trunk/src/wp-admin/admin.php
- Timestamp:
- 11/30/2014 11:42:00 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/admin.php
r29206 r30649 186 186 * where a callback is provided when the screen is registered. 187 187 * 188 * The dynamic portion of the hook name, $page_hook, refers to a mixture of plugin188 * The dynamic portion of the hook name, `$page_hook`, refers to a mixture of plugin 189 189 * page information including: 190 190 * 1. The page type. If the plugin page is registered as a submenu page, such as for … … 193 193 * 3. The plugin basename minus the file extension. 194 194 * 195 * Together, the three parts form the $page_hook. Citing the example above,195 * Together, the three parts form the `$page_hook`. Citing the example above, 196 196 * the hook name used would be 'load-settings_page_pluginbasename'. 197 197 * … … 224 224 * where the file to load is directly included, rather than the use of a function. 225 225 * 226 * The dynamic portion of the hook name, $plugin_page, refers to the plugin basename.226 * The dynamic portion of the hook name, `$plugin_page`, refers to the plugin basename. 227 227 * 228 228 * @see plugin_basename() … … 264 264 * Fires before an importer screen is loaded. 265 265 * 266 * The dynamic portion of the hook name, $importer, refers to the importer slug.266 * The dynamic portion of the hook name, `$importer`, refers to the importer slug. 267 267 * 268 268 * @since 3.5.0 … … 309 309 * The load-* hook fires in a number of contexts. This hook is for core screens. 310 310 * 311 * The dynamic portion of the hook name, $pagenow, is a global variable311 * The dynamic portion of the hook name, `$pagenow`, is a global variable 312 312 * referring to the filename of the current page, such as 'admin.php', 313 313 * 'post-new.php' etc. A complete hook for the latter would be … … 339 339 * Fires when an 'action' request variable is sent. 340 340 * 341 * The dynamic portion of the hook name, $_REQUEST['action'],342 * refers to the action derived from the GET or POSTrequest.341 * The dynamic portion of the hook name, `$_REQUEST['action']`, 342 * refers to the action derived from the `GET` or `POST` request. 343 343 * 344 344 * @since 2.6.0
Note: See TracChangeset
for help on using the changeset viewer.