Changeset 30648
- Timestamp:
- 11/30/2014 11:27:19 AM (10 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r30610 r30648 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 * … … 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 * … … 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 * -
trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php
r29460 r30648 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. … … 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. -
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r29829 r30648 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'. -
trunk/src/wp-admin/includes/class-wp-plugins-list-table.php
r29707 r30648 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 ('') … … 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 * -
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r30360 r30648 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 * … … 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 … … 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 -
trunk/src/wp-admin/includes/class-wp-terms-list-table.php
r29707 r30648 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 … … 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 * -
trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php
r29206 r30648 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'. -
trunk/src/wp-admin/includes/class-wp-upgrader.php
r30554 r30648 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 * … … 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 * -
trunk/src/wp-admin/includes/file.php
r30538 r30648 209 209 210 210 /** 211 * The dynamic portion of the hook name, $action, refers to the post action. 212 * 213 * @since 2.9.0 as 'wp_handle_upload_prefilter' 214 * @since 4.0.0 Converted to a dynamic hook with $action 211 * Filter the data for a file before it is uploaded to WordPress. 212 * 213 * The dynamic portion of the hook name, `$action`, refers to the post action. 214 * 215 * @since 2.9.0 as 'wp_handle_upload_prefilter'. 216 * @since 4.0.0 Converted to a dynamic hook with `$action`. 215 217 * 216 218 * @param array $file An array of data for a single file. -
trunk/src/wp-admin/includes/media.php
r30600 r30648 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 … … 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 * … … 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 * -
trunk/src/wp-admin/includes/nav-menu.php
r30627 r30648 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 -
trunk/src/wp-admin/includes/plugin.php
r30544 r30648 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), … … 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), -
trunk/src/wp-admin/includes/post.php
r30645 r30648 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', … … 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 to1108 * the screen ,and screen ID, respectively.1107 * The dynamic portions of the hook name, `$page` and `$id`, refer to 1108 * the screen and screen ID, respectively. 1109 1109 * 1110 1110 * @since 3.2.0 -
trunk/src/wp-admin/includes/revision.php
r30602 r30648 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 * … … 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' ) : ''; -
trunk/src/wp-admin/includes/screen.php
r30369 r30648 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 -
trunk/src/wp-admin/includes/update.php
r28500 r30648 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 * … … 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 *
Note: See TracChangeset
for help on using the changeset viewer.