Changeset 30656
- Timestamp:
- 11/30/2014 12:09:56 PM (10 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/capabilities.php
r30536 r30656 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 -
trunk/src/wp-includes/category-template.php
r30105 r30656 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 * -
trunk/src/wp-includes/class-wp-customize-control.php
r30605 r30656 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 ); -
trunk/src/wp-includes/class-wp-customize-panel.php
r30607 r30656 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 -
trunk/src/wp-includes/class-wp-customize-section.php
r30608 r30656 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 * -
trunk/src/wp-includes/class-wp-customize-setting.php
r30609 r30656 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 ); … … 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 ); … … 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 … … 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 * … … 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 ); -
trunk/src/wp-includes/comment-template.php
r30610 r30656 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 * -
trunk/src/wp-includes/comment.php
r30579 r30656 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 * … … 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 * -
trunk/src/wp-includes/functions.php
r30640 r30656 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 -
trunk/src/wp-includes/general-template.php
r30615 r30656 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 * … … 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'. -
trunk/src/wp-includes/link-template.php
r30628 r30656 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 * … … 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. … … 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" ); … … 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 * … … 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 * -
trunk/src/wp-includes/media.php
r30646 r30656 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 * -
trunk/src/wp-includes/ms-blogs.php
r29668 r30656 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 -
trunk/src/wp-includes/rewrite.php
r30545 r30656 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. -
trunk/src/wp-includes/template.php
r29044 r30656 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. … … 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 ); -
trunk/src/wp-includes/theme.php
r30189 r30656 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 … … 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. … … 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 -
trunk/src/wp-includes/user.php
r30623 r30656 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 … … 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 * … … 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 * … … 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 *
Note: See TracChangeset
for help on using the changeset viewer.