Ticket #30552: 30552.diff
File 30552.diff, 67.4 KB (added by , 10 years ago) |
---|
-
src/wp-admin/admin-ajax.php
77 77 /** 78 78 * Fires authenticated AJAX actions for logged-in users. 79 79 * 80 * The dynamic portion of the hook name, $_REQUEST['action'],80 * The dynamic portion of the hook name, `$_REQUEST['action']`, 81 81 * refers to the name of the AJAX action callback being fired. 82 82 * 83 83 * @since 2.1.0 … … 87 87 /** 88 88 * Fires non-authenticated AJAX actions for logged-out users. 89 89 * 90 * The dynamic portion of the hook name, $_REQUEST['action'],90 * The dynamic portion of the hook name, `$_REQUEST['action']`, 91 91 * refers to the name of the AJAX action callback being fired. 92 92 * 93 93 * @since 2.8.0 -
src/wp-admin/admin-footer.php
76 76 /** 77 77 * Print scripts or data after the default footer scripts. 78 78 * 79 * The dynamic portion of the hook name, $GLOBALS['hook_suffix'],79 * The dynamic portion of the hook name, `$GLOBALS['hook_suffix']`, 80 80 * refers to the global hook suffix of the current page. 81 81 * 82 82 * @since 2.8.0 -
src/wp-admin/admin-post.php
42 42 /** 43 43 * Fires on a non-authenticated admin post request for the given action. 44 44 * 45 * The dynamic portion of the hook name, $action, refers to the given45 * The dynamic portion of the hook name, `$action`, refers to the given 46 46 * request action. 47 47 * 48 48 * @since 2.6.0 … … 61 61 /** 62 62 * Fires on an authenticated admin post request for the given action. 63 63 * 64 * The dynamic portion of the hook name, $action, refers to the given64 * The dynamic portion of the hook name, `$action`, refers to the given 65 65 * request action. 66 66 * 67 67 * @since 2.6.0 -
src/wp-admin/admin.php
185 185 * The load-* hook fires in a number of contexts. This hook is for plugin screens 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 191 191 * Settings, the page type would be 'settings'. Otherwise the type is 'toplevel'. 192 192 * 2. A separator of '_page_'. 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 * 198 198 * @see get_plugin_page_hook() … … 223 223 * The load-* hook fires in a number of contexts. This hook is for plugin screens 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() 229 229 * … … 263 263 /** 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 269 269 */ … … 308 308 * 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 314 314 * 'load-post-new.php'. … … 338 338 /** 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 345 345 */ -
src/wp-admin/async-upload.php
104 104 /** 105 105 * Filter the returned ID of an uploaded attachment. 106 106 * 107 * The dynamic portion of the hook name, $type, refers to the attachment type,107 * The dynamic portion of the hook name, `$type`, refers to the attachment type, 108 108 * such as 'image', 'audio', 'video', 'file', etc. 109 109 * 110 110 * @since 2.5.0 -
src/wp-admin/edit-form-advanced.php
244 244 /** 245 245 * Fires after all built-in meta boxes have been added, contextually for the given post type. 246 246 * 247 * The dynamic portion of the hook, $post_type, refers to the post type of the post.247 * The dynamic portion of the hook, `$post_type`, refers to the post type of the post. 248 248 * 249 249 * @since 3.0.0 250 250 * -
src/wp-admin/edit-tag-form.php
51 51 /** 52 52 * Fires before the Edit Term form for all taxonomies. 53 53 * 54 * The dynamic portion of the hook name, $taxonomy, refers to54 * The dynamic portion of the hook name, `$taxonomy`, refers to 55 55 * the taxonomy slug. 56 56 * 57 57 * @since 3.0.0 … … 68 68 /** 69 69 * Fires inside the Edit Term form tag. 70 70 * 71 * The dynamic portion of the hook name, $taxonomy, refers to71 * The dynamic portion of the hook name, `$taxonomy`, refers to 72 72 * the taxonomy slug. 73 73 * 74 74 * @since 3.7.0 … … 153 153 /** 154 154 * Fires after the Edit Term form fields are displayed. 155 155 * 156 * The dynamic portion of the hook name, $taxonomy, refers to156 * The dynamic portion of the hook name, `$taxonomy`, refers to 157 157 * the taxonomy slug. 158 158 * 159 159 * @since 3.0.0 … … 186 186 /** 187 187 * Fires at the end of the Edit Term form for all taxonomies. 188 188 * 189 * The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.189 * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. 190 190 * 191 191 * @since 3.0.0 192 192 * -
src/wp-admin/edit-tags.php
351 351 /** 352 352 * Fires after the taxonomy list table. 353 353 * 354 * The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.354 * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. 355 355 * 356 356 * @since 3.0.0 357 357 * … … 420 420 /** 421 421 * Fires before the Add Term form for all taxonomies. 422 422 * 423 * The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.423 * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. 424 424 * 425 425 * @since 3.0.0 426 426 * … … 435 435 /** 436 436 * Fires at the beginning of the Add Tag form. 437 437 * 438 * The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.438 * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. 439 439 * 440 440 * @since 3.7.0 441 441 */ … … 521 521 /** 522 522 * Fires after the Add Term form fields for hierarchical taxonomies. 523 523 * 524 * The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.524 * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. 525 525 * 526 526 * @since 3.0.0 527 527 * … … 566 566 /** 567 567 * Fires at the end of the Add Term form for all taxonomies. 568 568 * 569 * The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.569 * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. 570 570 * 571 571 * @since 3.0.0 572 572 * -
src/wp-admin/includes/class-wp-list-table.php
342 342 /** 343 343 * Filter the list of available list table views. 344 344 * 345 * The dynamic portion of the hook name, $this->screen->id, refers345 * The dynamic portion of the hook name, `$this->screen->id`, refers 346 346 * to the ID of the current screen, usually a string. 347 347 * 348 348 * @since 3.5.0 … … 390 390 /** 391 391 * Filter the list table Bulk Actions drop-down. 392 392 * 393 * The dynamic portion of the hook name, $this->screen->id, refers393 * The dynamic portion of the hook name, `$this->screen->id`, refers 394 394 * to the ID of the current screen, usually a string. 395 395 * 396 396 * This filter can currently only be used to remove bulk actions. … … 766 766 /** 767 767 * Filter the list table sortable columns for a specific screen. 768 768 * 769 * The dynamic portion of the hook name, $this->screen->id, refers769 * The dynamic portion of the hook name, `$this->screen->id`, refers 770 770 * to the ID of the current screen, usually a string. 771 771 * 772 772 * @since 3.5.0 -
src/wp-admin/includes/class-wp-ms-themes-list-table.php
331 331 * Filter the action links of a specific theme in the Multisite themes 332 332 * list table. 333 333 * 334 * The dynamic portion of the hook name, $stylesheet, refers to the334 * The dynamic portion of the hook name, `$stylesheet`, refers to the 335 335 * directory name of the theme, which in most cases is synonymous 336 336 * with the template name. 337 337 * … … 444 444 /** 445 445 * Fires after each specific row in the Multisite themes list table. 446 446 * 447 * The dynamic portion of the hook name, $stylesheet, refers to the447 * The dynamic portion of the hook name, `$stylesheet`, refers to the 448 448 * directory name of the theme, most often synonymous with the template 449 449 * name of the theme. 450 450 * -
src/wp-admin/includes/class-wp-plugin-install-list-table.php
156 156 /** 157 157 * Filter API request arguments for each Plugin Install screen tab. 158 158 * 159 * The dynamic portion of the hook name, $tab, refers to the plugin install tabs.159 * The dynamic portion of the hook name, `$tab`, refers to the plugin install tabs. 160 160 * Default tabs are 'dashboard', 'search', 'upload', 'featured', 'popular', 'new', 161 161 * and 'favorites'. 162 162 * -
src/wp-admin/includes/class-wp-plugins-list-table.php
424 424 /** 425 425 * Filter the action links displayed for each plugin in the Plugins list table. 426 426 * 427 * The dynamic portion of the hook name, $prefix, refers to the context the427 * The dynamic portion of the hook name, `$prefix`, refers to the context the 428 428 * action links are displayed in. The 'network_admin_' prefix is used if the 429 429 * current screen is the Network plugins list table. The prefix is empty ('') 430 430 * if the current screen is the site plugins list table. … … 589 589 /** 590 590 * Fires after each specific row in the Plugins list table. 591 591 * 592 * The dynamic portion of the hook name, $plugin_file, refers to the path592 * The dynamic portion of the hook name, `$plugin_file`, refers to the path 593 593 * to the plugin file, relative to the plugins directory. 594 594 * 595 595 * @since 2.7.0 -
src/wp-admin/includes/class-wp-posts-list-table.php
301 301 /** 302 302 * Filter the taxonomy columns in the Posts list table. 303 303 * 304 * The dynamic portion of the hook name, $post_type, refers to the post304 * The dynamic portion of the hook name, `$post_type`, refers to the post 305 305 * type slug. 306 306 * 307 307 * @since 3.5.0 … … 355 355 /** 356 356 * Filter the columns displayed in the Posts list table for a specific post type. 357 357 * 358 * The dynamic portion of the hook name, $post_type, refers to the post type slug.358 * The dynamic portion of the hook name, `$post_type`, refers to the post type slug. 359 359 * 360 360 * @since 3.0.0 361 361 * … … 877 877 /** 878 878 * Fires for each custom column of a specific post type in the Posts list table. 879 879 * 880 * The dynamic portion of the hook name, $post->post_type, refers to the post type.880 * The dynamic portion of the hook name, `$post->post_type`, refers to the post type. 881 881 * 882 882 * @since 3.1.0 883 883 * -
src/wp-admin/includes/class-wp-terms-list-table.php
327 327 /** 328 328 * Filter the action links displayed for each term in the terms list table. 329 329 * 330 * The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.330 * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. 331 331 * 332 332 * @since 3.0.0 333 333 * … … 392 392 /** 393 393 * Filter the displayed columns in the terms list table. 394 394 * 395 * The dynamic portion of the hook name, $this->screen->taxonomy,395 * The dynamic portion of the hook name, `$this->screen->taxonomy`, 396 396 * refers to the slug of the current taxonomy. 397 397 * 398 398 * @since 2.8.0 -
src/wp-admin/includes/class-wp-theme-install-list-table.php
106 106 /** 107 107 * Filter API request arguments for each Install Themes screen tab. 108 108 * 109 * The dynamic portion of the hook name, $tab, refers to the theme install109 * The dynamic portion of the hook name, `$tab`, refers to the theme install 110 110 * tabs. Default tabs are 'dashboard', 'search', 'upload', 'featured', 111 111 * 'new', and 'updated'. 112 112 * -
src/wp-admin/includes/class-wp-upgrader.php
1934 1934 /** 1935 1935 * Filter whether to automatically update core, a plugin, a theme, or a language. 1936 1936 * 1937 * The dynamic portion of the hook name, $type, refers to the type of update1937 * The dynamic portion of the hook name, `$type`, refers to the type of update 1938 1938 * being checked. Can be 'core', 'theme', 'plugin', or 'translation'. 1939 1939 * 1940 1940 * Generally speaking, plugins, themes, and major core versions are not updated 1941 1941 * by default, while translations and minor and development versions for core 1942 1942 * are updated by default. 1943 1943 * 1944 * See the allow_dev_auto_core_updates, allow_minor_auto_core_updates, and1945 * a llow_major_auto_core_updatesfilters for a more straightforward way to1944 * See the {@see 'allow_dev_auto_core_updates', {@see 'allow_minor_auto_core_updates'}, 1945 * and {@see 'allow_major_auto_core_updates'} filters for a more straightforward way to 1946 1946 * adjust core updates. 1947 1947 * 1948 1948 * @since 3.7.0 -
src/wp-admin/includes/file.php
208 208 } 209 209 210 210 /** 211 * The dynamic portion of the hook name, $action, refers to the post action.211 * Filter the data for a file before it is uploaded to WordPress. 212 212 * 213 * @since 2.9.0 as 'wp_handle_upload_prefilter' 214 * @since 4.0.0 Converted to a dynamic hook with $action 213 * The dynamic portion of the hook name, `$action`, refers to the post action. 215 214 * 215 * @since 2.9.0 as 'wp_handle_upload_prefilter'. 216 * @since 4.0.0 Converted to a dynamic hook with `$action`. 217 * 216 218 * @param array $file An array of data for a single file. 217 219 */ 218 220 $file = apply_filters( "{$action}_prefilter", $file ); -
src/wp-admin/includes/media.php
494 494 * Fires in the admin header for each specific form tab in the legacy 495 495 * (pre-3.5.0) media upload popup. 496 496 * 497 * The dynamic portion of the hook, $content_func, refers to the form497 * The dynamic portion of the hook, `$content_func`, refers to the form 498 498 * callback for the media upload type. Possible values include 499 499 * 'media_upload_type_form', 'media_upload_type_url_form', and 500 500 * 'media_upload_library_form'. … … 595 595 /** 596 596 * Filter the upload iframe source URL for a specific media type. 597 597 * 598 * The dynamic portion of the hook name, $type, refers to the type598 * The dynamic portion of the hook name, `$type`, refers to the type 599 599 * of media uploaded. 600 600 * 601 601 * @since 3.0.0 … … 763 763 /** 764 764 * Filter the URL sent to the editor for a specific media type. 765 765 * 766 * The dynamic portion of the hook name, $type, refers to the type766 * The dynamic portion of the hook name, `$type`, refers to the type 767 767 * of media being sent. 768 768 * 769 769 * @since 3.3.0 -
src/wp-admin/includes/nav-menu.php
792 792 * Filter the posts displayed in the 'View All' tab of the current 793 793 * post type's menu items meta box. 794 794 * 795 * The dynamic portion of the hook name, $post_type_name,796 * refersto the slug of the current post type.795 * The dynamic portion of the hook name, `$post_type_name`, refers 796 * to the slug of the current post type. 797 797 * 798 798 * @since 3.2.0 799 799 * -
src/wp-admin/includes/plugin.php
561 561 * Fires as a specific plugin is being activated. 562 562 * 563 563 * This hook is the "activation" hook used internally by 564 * register_activation_hook(). The dynamic portion of the565 * hook name, $plugin, refers to the plugin basename.564 * {@see register_activation_hook()}. The dynamic portion of the 565 * hook name, `$plugin`, refers to the plugin basename. 566 566 * 567 567 * If a plugin is silently activated (such as during an update), 568 568 * this hook does not fire. … … 674 674 * Fires as a specific plugin is being deactivated. 675 675 * 676 676 * This hook is the "deactivation" hook used internally by 677 * register_deactivation_hook(). The dynamic portion of the678 * hook name, $plugin, refers to the plugin basename.677 * {@see register_deactivation_hook()}. The dynamic portion of the 678 * hook name, `$plugin`, refers to the plugin basename. 679 679 * 680 680 * If a plugin is silently deactivated (such as during an update), 681 681 * this hook does not fire. -
src/wp-admin/includes/post.php
965 965 /** 966 966 * Filter the number of items per page to show for a specific 'per_page' type. 967 967 * 968 * The dynamic portion of the hook name, $post_type, refers to the post type.968 * The dynamic portion of the hook name, `$post_type`, refers to the post type. 969 969 * 970 970 * Some examples of filter hooks generated here include: 'edit_attachment_per_page', 971 971 * 'edit_post_per_page', 'edit_page_per_page', etc. … … 1104 1104 /** 1105 1105 * Filter the postbox classes for a specific screen and screen ID combo. 1106 1106 * 1107 * The dynamic portions of the hook name, $page, and $id, refer to1107 * The dynamic portions of the hook name, `$page`, and `$id`, refer to 1108 1108 * the screen, and screen ID, respectively. 1109 1109 * 1110 1110 * @since 3.2.0 -
src/wp-admin/includes/revision.php
58 58 /** 59 59 * Contextually filter a post revision field. 60 60 * 61 * The dynamic portion of the hook name, $field, corresponds to each of the post61 * The dynamic portion of the hook name, `$field`, corresponds to each of the post 62 62 * fields of the revision object being iterated over in a foreach statement. 63 63 * 64 64 * @since 3.6.0 … … 66 66 * @param string $compare_from->$field The current revision field to compare to or from. 67 67 * @param string $field The current revision field. 68 68 * @param WP_Post $compare_from The revision post object to compare to or from. 69 * @param string null The context of whether the current revision is the old or the new one. Values are 'to' or 'from'. 69 * @param string null The context of whether the current revision is the old 70 * or the new one. Values are 'to' or 'from'. 70 71 */ 71 72 $content_from = $compare_from ? apply_filters( "_wp_post_revision_field_$field", $compare_from->$field, $field, $compare_from, 'from' ) : ''; 72 73 -
src/wp-admin/includes/screen.php
25 25 /** 26 26 * Filter the column headers for a list table on a specific screen. 27 27 * 28 * The dynamic portion of the hook name, $screen->id, refers to the28 * The dynamic portion of the hook name, `$screen->id`, refers to the 29 29 * ID of a specific screen. For example, the screen ID for the Posts 30 30 * list table is edit-post, so the filter for that screen would be 31 31 * manage_edit-post_columns. -
src/wp-admin/includes/update.php
289 289 * Fires at the end of the update message container in each 290 290 * row of the plugins list table. 291 291 * 292 * The dynamic portion of the hook name, $file, refers to the path292 * The dynamic portion of the hook name, `$file`, refers to the path 293 293 * of the plugin's primary file relative to the plugins directory. 294 294 * 295 295 * @since 2.8.0 … … 378 378 * Fires at the end of the update message container in each 379 379 * row of the themes list table. 380 380 * 381 * The dynamic portion of the hook name, $theme_key, refers to381 * The dynamic portion of the hook name, `$theme_key`, refers to 382 382 * the theme slug as found in the WordPress.org themes repository. 383 383 * 384 384 * @since 3.1.0 -
src/wp-admin/media-upload.php
74 74 * Fires inside specific upload-type views in the legacy (pre-3.5.0) 75 75 * media popup based on the current tab. 76 76 * 77 * The dynamic portion of the hook name, $type, refers to the specific77 * The dynamic portion of the hook name, `$type`, refers to the specific 78 78 * media upload type. Possible values include 'image', 'audio', 'video', 79 79 * 'file', etc. 80 80 * 81 * The hook only fires if the current $tabis 'type' (From Computer),81 * The hook only fires if the current `$tab` is 'type' (From Computer), 82 82 * 'type_url' (From URL), or, if the tab does not exist (i.e., has not 83 * been registered via the 'media_upload_tabs'filter.83 * been registered via the {@see 'media_upload_tabs'} filter. 84 84 * 85 85 * @since 2.5.0 86 86 */ … … 90 90 * Fires inside limited and specific upload-tab views in the legacy 91 91 * (pre-3.5.0) media popup. 92 92 * 93 * The dynamic portion of the hook name, $tab, refers to the specific93 * The dynamic portion of the hook name, `$tab`, refers to the specific 94 94 * media upload tab. Possible values include 'library' (Media Library), 95 * or any custom tab registered via the 'media_upload_tabs'filter.95 * or any custom tab registered via the {@see 'media_upload_tabs'} filter. 96 96 * 97 97 * @since 2.5.0 98 98 */ -
src/wp-admin/network/edit.php
31 31 /** 32 32 * Fires the requested handler action. 33 33 * 34 * The dynamic portion of the hook name, $_GET['action'], refers to the name34 * The dynamic portion of the hook name, `$_GET['action']`, refers to the name 35 35 * of the requested action. 36 36 * 37 37 * @since 3.1.0 -
src/wp-admin/network/sites.php
227 227 /** 228 228 * Filter a specific, non-default site-updated message in the Network admin. 229 229 * 230 * The dynamic portion of the hook name, $_GET['updated'], refers to the non-default231 * site update action.230 * The dynamic portion of the hook name, `$_GET['updated']`, refers to the 231 * non-default site update action. 232 232 * 233 233 * @since 3.1.0 234 234 * -
src/wp-admin/plugin-install.php
57 57 /** 58 58 * Fires before each tab on the Install Plugins screen is loaded. 59 59 * 60 * The dynamic portion of the action hook, $tab, allows for targeting60 * The dynamic portion of the action hook, `$tab`, allows for targeting 61 61 * individual tabs, for instance 'install_plugins_pre_plugin-information'. 62 62 * 63 63 * @since 2.7.0 … … 117 117 /** 118 118 * Fires after the plugins list table in each tab of the Install Plugins screen. 119 119 * 120 * The dynamic portion of the action hook, $tab, allows for targeting120 * The dynamic portion of the action hook, `$tab`, allows for targeting 121 121 * individual tabs, for instance 'install_plugins_plugin-information'. 122 122 * 123 123 * @since 2.7.0 -
src/wp-admin/theme-install.php
58 58 /** 59 59 * Fires before each of the tabs are rendered on the Install Themes page. 60 60 * 61 * The dynamic portion of the hook name, $tab, refers to the current61 * The dynamic portion of the hook name, `$tab`, refers to the current 62 62 * theme install tab. Possible values are 'dashboard', 'search', 'upload', 63 63 * 'featured', 'new', or 'updated'. 64 64 * … … 180 180 /** 181 181 * Fires at the top of each of the tabs on the Install Themes page. 182 182 * 183 * The dynamic portion of the hook name, $tab, refers to the current183 * The dynamic portion of the hook name, `$tab`, refers to the current 184 184 * theme install tab. Possible values are 'dashboard', 'search', 'upload', 185 185 * 'featured', 'new', or 'updated'. 186 186 * -
src/wp-admin/update-core.php
649 649 /** 650 650 * Fires for each custom update action on the WordPress Updates screen. 651 651 * 652 * The dynamic portion of the hook name, $action, refers to the652 * The dynamic portion of the hook name, `$action`, refers to the 653 653 * passed update action. The hook fires in lieu of all available 654 654 * default update actions. 655 655 * -
src/wp-admin/update.php
261 261 /** 262 262 * Fires when a custom plugin or theme update request is received. 263 263 * 264 * The dynamic portion of the hook name, $action, refers to the action264 * The dynamic portion of the hook name, `$action`, refers to the action 265 265 * provided in the request for wp-admin/update.php. Can be used to 266 266 * provide custom update functionality for themes and plugins. 267 267 * -
src/wp-admin/user-edit.php
440 440 /** 441 441 * Filter a user contactmethod label. 442 442 * 443 * The dynamic portion of the filter hook, $name, refers to443 * The dynamic portion of the filter hook, `$name`, refers to 444 444 * each of the keys in the contactmethods array. 445 445 * 446 446 * @since 2.9.0 -
src/wp-includes/capabilities.php
1204 1204 /** 1205 1205 * Filter whether the user is allowed to add post meta to a post. 1206 1206 * 1207 * The dynamic portion of the hook name, $meta_key, refers to the1208 * meta key passed to map_meta_cap().1207 * The dynamic portion of the hook name, `$meta_key`, refers to the 1208 * meta key passed to {@see map_meta_cap()}. 1209 1209 * 1210 1210 * @since 3.3.0 1211 1211 * -
src/wp-includes/category-template.php
1299 1299 /** 1300 1300 * Filter the term links for a given taxonomy. 1301 1301 * 1302 * The dynamic portion of the filter name, $taxonomy, refers1302 * The dynamic portion of the filter name, `$taxonomy`, refers 1303 1303 * to the taxonomy slug. 1304 1304 * 1305 1305 * @since 2.5.0 -
src/wp-includes/class-wp-customize-control.php
320 320 /** 321 321 * Fires just before a specific Customizer control is rendered. 322 322 * 323 * The dynamic portion of the hook name, $this->id, refers to323 * The dynamic portion of the hook name, `$this->id`, refers to 324 324 * the control ID. 325 325 * 326 326 * @since 3.4.0 327 327 * 328 * @param WP_Customize_Control $this WP_Customize_Controlinstance.328 * @param WP_Customize_Control $this {@see WP_Customize_Control} instance. 329 329 */ 330 330 do_action( 'customize_render_control_' . $this->id, $this ); 331 331 -
src/wp-includes/class-wp-customize-panel.php
268 268 /** 269 269 * Fires before rendering a specific Customizer panel. 270 270 * 271 * The dynamic portion of the hook name, $this->id, refers to the ID272 * of the specific Customizer panel to be rendered.271 * The dynamic portion of the hook name, `$this->id`, refers to 272 * the ID of the specific Customizer panel to be rendered. 273 273 * 274 274 * @since 4.0.0 275 275 */ -
src/wp-includes/class-wp-customize-section.php
276 276 /** 277 277 * Fires before rendering a specific Customizer section. 278 278 * 279 * The dynamic portion of the hook name, $this->id, refers to the ID279 * The dynamic portion of the hook name, `$this->id`, refers to the ID 280 280 * of the specific Customizer section to be rendered. 281 281 * 282 282 * @since 3.4.0 -
src/wp-includes/class-wp-customize-setting.php
127 127 * Fires when the {@see WP_Customize_Setting::preview()} method is called for settings 128 128 * not handled as theme_mods or options. 129 129 * 130 * The dynamic portion of the hook name, $this->id, refers to the setting ID.130 * The dynamic portion of the hook name, `$this->id`, refers to the setting ID. 131 131 * 132 132 * @since 3.4.0 133 133 * 134 * @param WP_Customize_Setting $this WP_Customize_Settinginstance.134 * @param WP_Customize_Setting $this {@see WP_Customize_Setting} instance. 135 135 */ 136 136 do_action( "customize_preview_{$this->id}", $this ); 137 137 … … 179 179 /** 180 180 * Fires when the WP_Customize_Setting::save() method is called. 181 181 * 182 * The dynamic portion of the hook name, $this->id_data['base']refers to182 * The dynamic portion of the hook name, `$this->id_data['base']` refers to 183 183 * the base slug of the setting name. 184 184 * 185 185 * @since 3.4.0 186 186 * 187 * @param WP_Customize_Setting $this WP_Customize_Settinginstance.187 * @param WP_Customize_Setting $this {@see WP_Customize_Setting} instance. 188 188 */ 189 189 do_action( 'customize_save_' . $this->id_data[ 'base' ], $this ); 190 190 … … 254 254 default : 255 255 256 256 /** 257 * Fires when the WP_Customize_Setting::update()method is called for settings257 * Fires when the {@see WP_Customize_Setting::update()} method is called for settings 258 258 * not handled as theme_mods or options. 259 259 * 260 * The dynamic portion of the hook name, $this->type, refers to the type of setting.260 * The dynamic portion of the hook name, `$this->type`, refers to the type of setting. 261 261 * 262 262 * @since 3.4.0 263 263 * … … 329 329 /** 330 330 * Filter a Customize setting value not handled as a theme_mod or option. 331 331 * 332 * The dynamic portion of the hook name, $this->id_date['base'], refers to332 * The dynamic portion of the hook name, `$this->id_date['base']`, refers to 333 333 * the base slug of the setting name. 334 334 * 335 335 * For settings handled as theme_mods or options, see those corresponding … … 363 363 /** 364 364 * Filter a Customize setting value for use in JavaScript. 365 365 * 366 * The dynamic portion of the hook name, $this->id, refers to the setting ID.366 * The dynamic portion of the hook name, `$this->id`, refers to the setting ID. 367 367 * 368 368 * @since 3.4.0 369 369 * 370 370 * @param mixed $value The setting value. 371 * @param WP_Customize_Setting $this WP_Customize_Settinginstance.371 * @param WP_Customize_Setting $this {@see WP_Customize_Setting} instance. 372 372 */ 373 373 $value = apply_filters( "customize_sanitize_js_{$this->id}", $this->value(), $this ); 374 374 -
src/wp-includes/comment-template.php
2301 2301 /** 2302 2302 * Filter a comment form field for display. 2303 2303 * 2304 * The dynamic portion of the filter hook, $name, refers to the name2304 * The dynamic portion of the filter hook, `$name`, refers to the name 2305 2305 * of the comment form field. Such as 'author', 'email', or 'url'. 2306 2306 * 2307 2307 * @since 3.0.0 -
src/wp-includes/comment.php
1818 1818 /** 1819 1819 * Fires when the comment status is in transition from one specific status to another. 1820 1820 * 1821 * The dynamic portions of the hook name, $old_status, and $new_status,1821 * The dynamic portions of the hook name, `$old_status`, and `$new_status`, 1822 1822 * refer to the old and new comment statuses, respectively. 1823 1823 * 1824 1824 * @since 2.7.0 … … 1830 1830 /** 1831 1831 * Fires when the status of a specific comment type is in transition. 1832 1832 * 1833 * The dynamic portions of the hook name, $new_status, and $comment->comment_type,1833 * The dynamic portions of the hook name, `$new_status`, and `$comment->comment_type`, 1834 1834 * refer to the new comment status, and the type of comment, respectively. 1835 1835 * 1836 1836 * Typical comment types include an empty string (standard comment), 'pingback', -
src/wp-includes/functions.php
4194 4194 /** 4195 4195 * Filter extra file headers by context. 4196 4196 * 4197 * The dynamic portion of the hook name, $context, refers to the context4198 * where extra headers might be loaded.4197 * The dynamic portion of the hook name, `$context`, refers to 4198 * the context where extra headers might be loaded. 4199 4199 * 4200 4200 * @since 2.9.0 4201 4201 * -
src/wp-includes/general-template.php
151 151 /** 152 152 * Fires before the specified template part file is loaded. 153 153 * 154 * The dynamic portion of the hook name, $slug, refers to the slug name154 * The dynamic portion of the hook name, `$slug`, refers to the slug name 155 155 * for the generic template part. 156 156 * 157 157 * @since 3.0.0 … … 3009 3009 /** 3010 3010 * Filter the HTML for the retrieved generator type. 3011 3011 * 3012 * The dynamic portion of the hook name, $type, refers to the generator type.3012 * The dynamic portion of the hook name, `$type`, refers to the generator type. 3013 3013 * 3014 3014 * @since 2.5.0 3015 3015 * 3016 * @param string $gen The HTML markup output to 'wp_head()'.3016 * @param string $gen The HTML markup output to {@see wp_head()}. 3017 3017 * @param string $type The type of generator. Accepts 'html', 'xhtml', 'atom', 3018 3018 * 'rss2', 'rdf', 'comment', 'export'. 3019 3019 */ -
src/wp-includes/link-template.php
1524 1524 /** 1525 1525 * Filter the JOIN clause in the SQL for an adjacent post query. 1526 1526 * 1527 * The dynamic portion of the hook name, $adjacent, refers to the type1527 * The dynamic portion of the hook name, `$adjacent`, refers to the type 1528 1528 * of adjacency, 'next' or 'previous'. 1529 1529 * 1530 1530 * @since 2.5.0 … … 1538 1538 /** 1539 1539 * Filter the WHERE clause in the SQL for an adjacent post query. 1540 1540 * 1541 * The dynamic portion of the hook name, $adjacent, refers to the type1541 * The dynamic portion of the hook name, `$adjacent`, refers to the type 1542 1542 * of adjacency, 'next' or 'previous'. 1543 1543 * 1544 1544 * @since 2.5.0 1545 1545 * 1546 * @param string $where The WHEREclause in the SQL.1546 * @param string $where The `WHERE` clause in the SQL. 1547 1547 * @param bool $in_same_term Whether post should be in a same taxonomy term. 1548 1548 * @param array $excluded_terms Array of excluded term IDs. 1549 1549 */ … … 1552 1552 /** 1553 1553 * Filter the ORDER BY clause in the SQL for an adjacent post query. 1554 1554 * 1555 * The dynamic portion of the hook name, $adjacent, refers to the type1555 * The dynamic portion of the hook name, `$adjacent`, refers to the type 1556 1556 * of adjacency, 'next' or 'previous'. 1557 1557 * 1558 1558 * @since 2.5.0 1559 1559 * 1560 * @param string $order_by The ORDER BYclause in the SQL.1560 * @param string $order_by The `ORDER BY` clause in the SQL. 1561 1561 */ 1562 1562 $sort = apply_filters( "get_{$adjacent}_post_sort", "ORDER BY p.post_date $order LIMIT 1" ); 1563 1563 … … 1624 1624 /** 1625 1625 * Filter the adjacent post relational link. 1626 1626 * 1627 * The dynamic portion of the hook name, $adjacent, refers to the type1627 * The dynamic portion of the hook name, `$adjacent`, refers to the type 1628 1628 * of adjacency, 'next' or 'previous'. 1629 1629 * 1630 1630 * @since 2.8.0 … … 1861 1861 /** 1862 1862 * Filter the adjacent post link. 1863 1863 * 1864 * The dynamic portion of the hook name, $adjacent, refers to the type1864 * The dynamic portion of the hook name, `$adjacent`, refers to the type 1865 1865 * of adjacency, 'next' or 'previous'. 1866 1866 * 1867 1867 * @since 2.6.0 -
src/wp-includes/media.php
1942 1942 /** 1943 1943 * Filter the adjacent image link. 1944 1944 * 1945 * The dynamic portion of the hook name, $adjacent, refers to the type of adjacency,1945 * The dynamic portion of the hook name, `$adjacent`, refers to the type of adjacency, 1946 1946 * either 'next', or 'previous'. 1947 1947 * 1948 1948 * @since 3.5.0 -
src/wp-includes/meta.php
54 54 /** 55 55 * Filter whether to add metadata of a specific type. 56 56 * 57 * The dynamic portion of the hook, $meta_type, refers to the meta57 * The dynamic portion of the hook, `$meta_type`, refers to the meta 58 58 * object type (comment, post, or user). Returning a non-null value 59 59 * will effectively short-circuit the function. 60 60 * … … 82 82 /** 83 83 * Fires immediately before meta of a specific type is added. 84 84 * 85 * The dynamic portion of the hook, $meta_type, refers to the meta85 * The dynamic portion of the hook, `$meta_type`, refers to the meta 86 86 * object type (comment, post, or user). 87 87 * 88 88 * @since 3.1.0 … … 109 109 /** 110 110 * Fires immediately after meta of a specific type is added. 111 111 * 112 * The dynamic portion of the hook, $meta_type, refers to the meta112 * The dynamic portion of the hook, `$meta_type`, refers to the meta 113 113 * object type (comment, post, or user). 114 114 * 115 115 * @since 2.9.0 … … 169 169 /** 170 170 * Filter whether to update metadata of a specific type. 171 171 * 172 * The dynamic portion of the hook, $meta_type, refers to the meta172 * The dynamic portion of the hook, `$meta_type`, refers to the meta 173 173 * object type (comment, post, or user). Returning a non-null value 174 174 * will effectively short-circuit the function. 175 175 * … … 216 216 /** 217 217 * Fires immediately before updating metadata of a specific type. 218 218 * 219 * The dynamic portion of the hook, $meta_type, refers to the meta219 * The dynamic portion of the hook, `$meta_type`, refers to the meta 220 220 * object type (comment, post, or user). 221 221 * 222 222 * @since 2.9.0 … … 255 255 /** 256 256 * Fires immediately after updating metadata of a specific type. 257 257 * 258 * The dynamic portion of the hook, $meta_type, refers to the meta258 * The dynamic portion of the hook, `$meta_type`, refers to the meta 259 259 * object type (comment, post, or user). 260 260 * 261 261 * @since 2.9.0 … … 330 330 /** 331 331 * Filter whether to delete metadata of a specific type. 332 332 * 333 * The dynamic portion of the hook, $meta_type, refers to the meta333 * The dynamic portion of the hook, `$meta_type`, refers to the meta 334 334 * object type (comment, post, or user). Returning a non-null value 335 335 * will effectively short-circuit the function. 336 336 * … … 369 369 /** 370 370 * Fires immediately before deleting metadata of a specific type. 371 371 * 372 * The dynamic portion of the hook, $meta_type, refers to the meta372 * The dynamic portion of the hook, `$meta_type`, refers to the meta 373 373 * object type (comment, post, or user). 374 374 * 375 375 * @since 3.1.0 … … 411 411 /** 412 412 * Fires immediately after deleting metadata of a specific type. 413 413 * 414 * The dynamic portion of the hook name, $meta_type, refers to the meta414 * The dynamic portion of the hook name, `$meta_type`, refers to the meta 415 415 * object type (comment, post, or user). 416 416 * 417 417 * @since 2.9.0 … … 464 464 /** 465 465 * Filter whether to retrieve metadata of a specific type. 466 466 * 467 * The dynamic portion of the hook, $meta_type, refers to the meta467 * The dynamic portion of the hook, `$meta_type`, refers to the meta 468 468 * object type (comment, post, or user). Returning a non-null value 469 469 * will effectively short-circuit the function. 470 470 * … … 724 724 /** 725 725 * Fires immediately before deleting post or comment metadata of a specific type. 726 726 * 727 * The dynamic portion of the hook, $meta_type, refers to the meta727 * The dynamic portion of the hook, `$meta_type`, refers to the meta 728 728 * object type (post or comment). 729 729 * 730 730 * @since 3.4.0 … … 748 748 /** 749 749 * Fires immediately after deleting post or comment metadata of a specific type. 750 750 * 751 * The dynamic portion of the hook, $meta_type, refers to the meta751 * The dynamic portion of the hook, `$meta_type`, refers to the meta 752 752 * object type (post or comment). 753 753 * 754 754 * @since 3.4.0 … … 1572 1572 /** 1573 1573 * Filter the sanitization of a specific meta key of a specific meta type. 1574 1574 * 1575 * The dynamic portions of the hook name, $meta_type and $meta_key, refer to the1576 * metadata object type (comment, post, or user) and the meta key value,1577 * respectively.1575 * The dynamic portions of the hook name, `$meta_type`, and `$meta_key`, 1576 * refer to the metadata object type (comment, post, or user) and the meta 1577 * key value, respectively. 1578 1578 * 1579 1579 * @since 3.3.0 1580 1580 * -
src/wp-includes/ms-blogs.php
460 460 /** 461 461 * Filter a blog option value. 462 462 * 463 * The dynamic portion of the hook name, $option, refers to the blog option name.463 * The dynamic portion of the hook name, `$option`, refers to the blog option name. 464 464 * 465 465 * @since 3.5.0 466 466 * -
src/wp-includes/option.php
32 32 /** 33 33 * Filter the value of an existing option before it is retrieved. 34 34 * 35 * The dynamic portion of the hook name, $option, refers to the option name.35 * The dynamic portion of the hook name, `$option`, refers to the option name. 36 36 * 37 37 * Passing a truthy value to the filter will short-circuit retrieving 38 38 * the option value, returning the passed value instead. … … 57 57 /** 58 58 * Filter the default value for an option. 59 59 * 60 * The dynamic portion of the hook name, $option, refers 61 * to the option name. 60 * The dynamic portion of the hook name, `$option`, refers to the option name. 62 61 * 63 62 * @since 3.4.0 64 63 * 65 * @param mixed $default The default value to return if the option 66 * does not existin the database.64 * @param mixed $default The default value to return if the option does not exist 65 * in the database. 67 66 */ 68 67 return apply_filters( 'default_option_' . $option, $default ); 69 68 … … 112 111 /** 113 112 * Filter the value of an existing option. 114 113 * 115 * The dynamic portion of the hook name, $option, refers to the option name.114 * The dynamic portion of the hook name, `$option`, refers to the option name. 116 115 * 117 116 * @since 1.5.0 As 'option_' . $setting 118 117 * @since 3.0.0 … … 245 244 /** 246 245 * Filter a specific option before its value is (maybe) serialized and updated. 247 246 * 248 * The dynamic portion of the hook name, $option, refers to the option name.247 * The dynamic portion of the hook name, `$option`, refers to the option name. 249 248 * 250 249 * @since 2.6.0 251 250 * … … 308 307 /** 309 308 * Fires after the value of a specific option has been successfully updated. 310 309 * 311 * The dynamic portion of the hook name, $option, refers to the option name.310 * The dynamic portion of the hook name, `$option`, refers to the option name. 312 311 * 313 312 * @since 2.0.1 314 313 * … … 410 409 /** 411 410 * Fires after a specific option has been added. 412 411 * 413 * The dynamic portion of the hook name, $option, refers to the option name.412 * The dynamic portion of the hook name, `$option`, refers to the option name. 414 413 * 415 414 * @since 2.5.0 As "add_option_{$name}" 416 415 * @since 3.0.0 … … 480 479 /** 481 480 * Fires after a specific option has been deleted. 482 481 * 483 * The dynamic portion of the hook name, $option, refers to the option name.482 * The dynamic portion of the hook name, `$option`, refers to the option name. 484 483 * 485 484 * @since 3.0.0 486 485 * … … 514 513 /** 515 514 * Fires immediately before a specific transient is deleted. 516 515 * 517 * The dynamic portion of the hook name, $transient, refers to the transient name.516 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 518 517 * 519 518 * @since 3.0.0 520 519 * … … 563 562 /** 564 563 * Filter the value of an existing transient. 565 564 * 566 * The dynamic portion of the hook name, $transient, refers to the transient name.565 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 567 566 * 568 567 * Passing a truthy value to the filter will effectively short-circuit retrieval 569 568 * of the transient, returning the passed value instead. … … 602 601 /** 603 602 * Filter an existing transient's value. 604 603 * 605 * The dynamic portion of the hook name, $transient, refers to the transient name.604 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 606 605 * 607 606 * @since 2.8.0 608 607 * … … 631 630 /** 632 631 * Filter a specific transient before its value is set. 633 632 * 634 * The dynamic portion of the hook name, $transient, refers to the transient name.633 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 635 634 * 636 635 * @since 3.0.0 637 636 * … … 678 677 /** 679 678 * Fires after the value for a specific transient has been set. 680 679 * 681 * The dynamic portion of the hook name, $transient, refers to the transient name.680 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 682 681 * 683 682 * @since 3.0.0 684 683 * … … 933 932 /** 934 933 * Filter an existing site option before it is retrieved. 935 934 * 936 * The dynamic portion of the hook name, $option, refers to the option name.935 * The dynamic portion of the hook name, `$option`, refers to the option name. 937 936 * 938 937 * Passing a truthy value to the filter will effectively short-circuit retrieval, 939 938 * returning the passed value instead. … … 957 956 /** 958 957 * Filter a specific default site option. 959 958 * 960 * The dynamic portion of the hook name, $option, refers to the option name.959 * The dynamic portion of the hook name, `$option`, refers to the option name. 961 960 * 962 961 * @since 3.4.0 963 962 * … … 998 997 /** 999 998 * Filter the value of an existing site option. 1000 999 * 1001 * The dynamic portion of the hook name, $option, refers to the option name.1000 * The dynamic portion of the hook name, `$option`, refers to the option name. 1002 1001 * 1003 1002 * @since 2.9.0 As 'site_option_' . $key 1004 1003 * @since 3.0.0 … … 1029 1028 /** 1030 1029 * Filter the value of a specific site option before it is added. 1031 1030 * 1032 * The dynamic portion of the hook name, $option, refers to the option name.1031 * The dynamic portion of the hook name, `$option`, refers to the option name. 1033 1032 * 1034 1033 * @since 2.9.0 As 'pre_add_site_option_' . $key 1035 1034 * @since 3.0.0 … … 1074 1073 /** 1075 1074 * Fires after a specific site option has been successfully added. 1076 1075 * 1077 * The dynamic portion of the hook name, $option, refers to the option name.1076 * The dynamic portion of the hook name, `$option`, refers to the option name. 1078 1077 * 1079 1078 * @since 2.9.0 As "add_site_option_{$key}" 1080 1079 * @since 3.0.0 … … 1117 1116 /** 1118 1117 * Fires immediately before a specific site option is deleted. 1119 1118 * 1120 * The dynamic portion of the hook name, $option, refers to the option name.1119 * The dynamic portion of the hook name, `$option`, refers to the option name. 1121 1120 * 1122 1121 * @since 3.0.0 1123 1122 */ … … 1140 1139 /** 1141 1140 * Fires after a specific site option has been deleted. 1142 1141 * 1143 * The dynamic portion of the hook name, $option, refers to the option name.1142 * The dynamic portion of the hook name, `$option`, refers to the option name. 1144 1143 * 1145 1144 * @since 2.9.0 As "delete_site_option_{$key}" 1146 1145 * @since 3.0.0 … … 1184 1183 /** 1185 1184 * Filter a specific site option before its value is updated. 1186 1185 * 1187 * The dynamic portion of the hook name, $option, refers to the option name.1186 * The dynamic portion of the hook name, `$option`, refers to the option name. 1188 1187 * 1189 1188 * @since 2.9.0 As 'pre_update_site_option_' . $key 1190 1189 * @since 3.0.0 … … 1226 1225 /** 1227 1226 * Fires after the value of a specific site option has been successfully updated. 1228 1227 * 1229 * The dynamic portion of the hook name, $option, refers to the option name.1228 * The dynamic portion of the hook name, `$option`, refers to the option name. 1230 1229 * 1231 1230 * @since 2.9.0 As "update_site_option_{$key}" 1232 1231 * @since 3.0.0 … … 1266 1265 /** 1267 1266 * Fires immediately before a specific site transient is deleted. 1268 1267 * 1269 * The dynamic portion of the hook name, $transient, refers to the transient name.1268 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 1270 1269 * 1271 1270 * @since 3.0.0 1272 1271 * … … 1316 1315 /** 1317 1316 * Filter the value of an existing site transient. 1318 1317 * 1319 * The dynamic portion of the hook name, $transient, refers to the transient name.1318 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 1320 1319 * 1321 1320 * Passing a truthy value to the filter will effectively short-circuit retrieval, 1322 1321 * returning the passed value instead. … … 1355 1354 /** 1356 1355 * Filter the value of an existing site transient. 1357 1356 * 1358 * The dynamic portion of the hook name, $transient, refers to the transient name.1357 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 1359 1358 * 1360 1359 * @since 2.9.0 1361 1360 * … … 1385 1384 /** 1386 1385 * Filter the value of a specific site transient before it is set. 1387 1386 * 1388 * The dynamic portion of the hook name, $transient, refers to the transient name.1387 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 1389 1388 * 1390 1389 * @since 3.0.0 1391 1390 * … … 1415 1414 /** 1416 1415 * Fires after the value for a specific site transient has been set. 1417 1416 * 1418 * The dynamic portion of the hook name, $transient, refers to the transient name.1417 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 1419 1418 * 1420 1419 * @since 3.0.0 1421 1420 * -
src/wp-includes/post.php
1641 1641 /** 1642 1642 * Filter the labels of a specific post type. 1643 1643 * 1644 * The dynamic portion of the hook name, $post_type, refers to1644 * The dynamic portion of the hook name, `$post_type`, refers to 1645 1645 * the post type slug. 1646 1646 * 1647 1647 * @since 3.5.0 … … 2145 2145 /** 2146 2146 * Filter the value of a specific post field to edit. 2147 2147 * 2148 * The dynamic portion of the hook name, $field, refers to the post2148 * The dynamic portion of the hook name, `$field`, refers to the post 2149 2149 * field name. 2150 2150 * 2151 2151 * @since 2.3.0 … … 2158 2158 /** 2159 2159 * Filter the value of a specific post field to edit. 2160 2160 * 2161 * The dynamic portion of the hook name, $field_no_prefix, refers to2161 * The dynamic portion of the hook name, `$field_no_prefix`, refers to 2162 2162 * the post field name. 2163 2163 * 2164 2164 * @since 2.3.0 … … 2185 2185 /** 2186 2186 * Filter the value of a specific post field before saving. 2187 2187 * 2188 * The dynamic portion of the hook name, $field, refers to the post2188 * The dynamic portion of the hook name, `$field`, refers to the post 2189 2189 * field name. 2190 2190 * 2191 2191 * @since 2.3.0 … … 2197 2197 /** 2198 2198 * Filter the value of a specific field before saving. 2199 2199 * 2200 * The dynamic portion of the hook name, $field_no_prefix, refers2200 * The dynamic portion of the hook name, `$field_no_prefix`, refers 2201 2201 * to the post field name. 2202 2202 * 2203 2203 * @since 2.3.0 … … 2211 2211 /** 2212 2212 * Filter the value of a specific post field before saving. 2213 2213 * 2214 * The dynamic portion of the hook name, $field, refers to the post2214 * The dynamic portion of the hook name, `$field`, refers to the post 2215 2215 * field name. 2216 2216 * 2217 2217 * @since 2.3.0 … … 2228 2228 /** 2229 2229 * Filter the value of a specific post field for display. 2230 2230 * 2231 * The dynamic portion of the hook name, $field, refers to the post2231 * The dynamic portion of the hook name, `$field`, refers to the post 2232 2232 * field name. 2233 2233 * 2234 2234 * @since 2.3.0 … … 3477 3477 /** 3478 3478 * Fires once a post has been saved. 3479 3479 * 3480 * The dynamic portion of the hook name, $post->post_type, refers to3480 * The dynamic portion of the hook name, `$post->post_type`, refers to 3481 3481 * the post type slug. 3482 3482 * 3483 3483 * @since 3.7.0 … … 3935 3935 /** 3936 3936 * Fires when a post is transitioned from one status to another. 3937 3937 * 3938 * The dynamic portions of the hook name, $new_status and $old status,3938 * The dynamic portions of the hook name, `$new_status` and `$old status`, 3939 3939 * refer to the old and new post statuses, respectively. 3940 3940 * 3941 3941 * @since 2.3.0 … … 3947 3947 /** 3948 3948 * Fires when a post is transitioned from one status to another. 3949 3949 * 3950 * The dynamic portions of the hook name, $new_status and $post->post_type,3950 * The dynamic portions of the hook name, `$new_status` and `$post->post_type`, 3951 3951 * refer to the new post status and post type, respectively. 3952 3952 * 3953 3953 * @since 2.3.0 -
src/wp-includes/rewrite.php
1676 1676 /** 1677 1677 * Filter rewrite rules used for individual permastructs. 1678 1678 * 1679 * The dynamic portion of the hook name, $permastructname, refers1679 * The dynamic portion of the hook name, `$permastructname`, refers 1680 1680 * to the name of the registered permastruct, e.g. 'post_tag' (tags), 1681 1681 * 'category' (categories), etc. 1682 1682 * -
src/wp-includes/taxonomy.php
1339 1339 /** 1340 1340 * Filter a taxonomy. 1341 1341 * 1342 * The dynamic portion of the filter name, $taxonomy, refers1342 * The dynamic portion of the filter name, `$taxonomy`, refers 1343 1343 * to the taxonomy slug. 1344 1344 * 1345 1345 * @since 2.3.0 … … 2190 2190 /** 2191 2191 * Filter a term field to edit before it is sanitized. 2192 2192 * 2193 * The dynamic portion of the filter name, $field, refers to the term field.2193 * The dynamic portion of the filter name, `$field`, refers to the term field. 2194 2194 * 2195 2195 * @since 2.3.0 2196 2196 * … … 2203 2203 /** 2204 2204 * Filter the taxonomy field to edit before it is sanitized. 2205 2205 * 2206 * The dynamic portions of the filter name, $taxonomy, and $field, refer2206 * The dynamic portions of the filter name, `$taxonomy` and `$field`, refer 2207 2207 * to the taxonomy slug and taxonomy field, respectively. 2208 2208 * 2209 2209 * @since 2.3.0 … … 2221 2221 /** 2222 2222 * Filter a term field value before it is sanitized. 2223 2223 * 2224 * The dynamic portion of the filter name, $field, refers to the term field.2224 * The dynamic portion of the filter name, `$field`, refers to the term field. 2225 2225 * 2226 2226 * @since 2.3.0 2227 2227 * … … 2233 2233 /** 2234 2234 * Filter a taxonomy field before it is sanitized. 2235 2235 * 2236 * The dynamic portions of the filter name, $taxonomy, and $field, refer2236 * The dynamic portions of the filter name, `$taxonomy` and `$field`, refer 2237 2237 * to the taxonomy slug and field name, respectively. 2238 2238 * 2239 2239 * @since 2.3.0 … … 2260 2260 /** 2261 2261 * Filter the term field for use in RSS. 2262 2262 * 2263 * The dynamic portion of the filter name, $field, refers to the term field.2263 * The dynamic portion of the filter name, `$field`, refers to the term field. 2264 2264 * 2265 2265 * @since 2.3.0 2266 2266 * … … 2272 2272 /** 2273 2273 * Filter the taxonomy field for use in RSS. 2274 2274 * 2275 * The dynamic portions of the hook name, $taxonomy, and $field, refer2275 * The dynamic portions of the hook name, `$taxonomy`, and $field, refer 2276 2276 * to the taxonomy slug and field name, respectively. 2277 2277 * 2278 2278 * @since 2.3.0 … … 2286 2286 /** 2287 2287 * Filter the term field sanitized for display. 2288 2288 * 2289 * The dynamic portion of the filter name, $field, refers to the term field name.2289 * The dynamic portion of the filter name, `$field`, refers to the term field name. 2290 2290 * 2291 2291 * @since 2.3.0 2292 2292 * … … 2300 2300 /** 2301 2301 * Filter the taxonomy field sanitized for display. 2302 2302 * 2303 * The dynamic portions of the filter name, $taxonomy, and $field, refer2303 * The dynamic portions of the filter name, `$taxonomy`, and $field, refer 2304 2304 * to the taxonomy slug and taxonomy field, respectively. 2305 2305 * 2306 2306 * @since 2.3.0 … … 2533 2533 /** 2534 2534 * Fires after a term in a specific taxonomy is deleted. 2535 2535 * 2536 * The dynamic portion of the hook name, $taxonomy, refers to the specific2536 * The dynamic portion of the hook name, `$taxonomy`, refers to the specific 2537 2537 * taxonomy the term belonged to. 2538 2538 * 2539 2539 * @since 2.3.0 … … 2541 2541 * @param int $term Term ID. 2542 2542 * @param int $tt_id Term taxonomy ID. 2543 2543 * @param mixed $deleted_term Copy of the already-deleted term, in the form specified 2544 * by the parent function. WP_Errorotherwise.2544 * by the parent function. {@see WP_Error} otherwise. 2545 2545 */ 2546 2546 do_action( "delete_$taxonomy", $term, $tt_id, $deleted_term ); 2547 2547 … … 2925 2925 /** 2926 2926 * Fires after a new term is created for a specific taxonomy. 2927 2927 * 2928 * The dynamic portion of the hook name, $taxonomy, refers2928 * The dynamic portion of the hook name, `$taxonomy`, refers 2929 2929 * to the slug of the taxonomy the term was created for. 2930 2930 * 2931 2931 * @since 2.3.0 … … 3457 3457 * Fires after a term in a specific taxonomy has been updated, but before the term 3458 3458 * cache has been cleaned. 3459 3459 * 3460 * The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.3460 * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. 3461 3461 * 3462 3462 * @since 2.3.0 3463 3463 * … … 3486 3486 * Fires after a term for a specific taxonomy has been updated, and the term 3487 3487 * cache has been cleaned. 3488 3488 * 3489 * The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.3489 * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. 3490 3490 * 3491 3491 * @since 2.3.0 3492 3492 * -
src/wp-includes/template.php
30 30 /** 31 31 * Filter the path of the queried template by type. 32 32 * 33 * The dynamic portion of the hook name, $type, refers to the filename33 * The dynamic portion of the hook name, `$type`, refers to the filename 34 34 * -- minus the extension -- of the file to load. This hook also applies 35 35 * to various types of files loaded as part of the Template Hierarchy. 36 36 * 37 37 * @since 1.5.0 38 38 * 39 * @param string $template Path to the template. @see locate_template()39 * @param string $template Path to the template. See {@see locate_template()}. 40 40 */ 41 41 return apply_filters( "{$type}_template", $template ); 42 42 } -
src/wp-includes/theme.php
909 909 /** 910 910 * Filter the theme modification, or 'theme_mod', value. 911 911 * 912 * The dynamic portion of the hook name, $name, refers to912 * The dynamic portion of the hook name, `$name`, refers to 913 913 * the key name of the modification array. For example, 914 914 * 'header_textcolor', 'header_image', and so on depending 915 915 * on the theme options. … … 943 943 /** 944 944 * Filter the theme mod value on save. 945 945 * 946 * The dynamic portion of the hook name, $name, refers to the key name of946 * The dynamic portion of the hook name, `$name`, refers to the key name of 947 947 * the modification array. For example, 'header_textcolor', 'header_image', 948 948 * and so on depending on the theme options. 949 949 * … … 1816 1816 /** 1817 1817 * Filter whether the current theme supports a specific feature. 1818 1818 * 1819 * The dynamic portion of the hook name, $feature, refers to 1820 * the specific theme feature. Possible values include 'post-formats', 1821 * 'post-thumbnails', 'custom-background', 'custom-header', 'menus', 1822 * 'automatic-feed-links', and 'html5'. 1819 * The dynamic portion of the hook name, `$feature`, refers to the specific theme 1820 * feature. Possible values include 'post-formats', 'post-thumbnails', 'custom-background', 1821 * 'custom-header', 'menus', 'automatic-feed-links', and 'html5'. 1823 1822 * 1824 1823 * @since 3.4.0 1825 1824 * -
src/wp-includes/user.php
371 371 /** 372 372 * Filter a specific user option value. 373 373 * 374 * The dynamic portion of the hook name, $option, refers to the user option name.374 * The dynamic portion of the hook name, `$option`, refers to the user option name. 375 375 * 376 376 * @since 2.5.0 377 377 * … … 1499 1499 /** 1500 1500 * Filter a user field value in the 'edit' context. 1501 1501 * 1502 * The dynamic portion of the hook name, $field, refers to the prefixed user1502 * The dynamic portion of the hook name, `$field`, refers to the prefixed user 1503 1503 * field being filtered, such as 'user_login', 'user_email', 'first_name', etc. 1504 1504 * 1505 1505 * @since 2.9.0 … … 1523 1523 /** 1524 1524 * Filter the value of a user field in the 'db' context. 1525 1525 * 1526 * The dynamic portion of the hook name, $field, refers to the prefixed user1526 * The dynamic portion of the hook name, `$field`, refers to the prefixed user 1527 1527 * field being filtered, such as 'user_login', 'user_email', 'first_name', etc. 1528 1528 * 1529 1529 * @since 2.9.0 … … 1543 1543 /** 1544 1544 * Filter the value of a user field in a standard context. 1545 1545 * 1546 * The dynamic portion of the hook name, $field, refers to the prefixed user1546 * The dynamic portion of the hook name, `$field`, refers to the prefixed user 1547 1547 * field being filtered, such as 'user_login', 'user_email', 'first_name', etc. 1548 1548 * 1549 1549 * @since 2.9.0 -
src/wp-login.php
447 447 /** 448 448 * Fires before a specified login form action. 449 449 * 450 * The dynamic portion of the hook name, $action, refers to the action450 * The dynamic portion of the hook name, `$action`, refers to the action 451 451 * that brought the visitor to the login form. Actions include 'postpass', 452 452 * 'logout', 'lostpassword', etc. 453 453 *