mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Docs Formatting: Backtick-escape inline code for all remaining dynamic hook docs in wp-includes/*.
Affects DocBlocks for the following hooks:
* `auth_post_meta_{$meta_key}`
* `term_links-$taxonomy`
* `customize_render_control_ . $this->id`
* `customize_render_panel_{$this->id}`
* `customize_render_section_{$this->id}`
* `customize_preview_{$this->id}`
* `customize_save_ . $this->id_data[ 'base' ]`
* `customize_update_ . $this->type`
* `customize_value_ . $this->id_data[ 'base' ]`
* `customize_sanitize_js_{$this->id}`
* `comment_form_field_{$name}`
* `comment_{$old_status}_to_{$new_status}`
* `comment_{$new_status}_{$comment->comment_type}`
* `extra_{$context}_headers`
* `get_template_part_{$slug}`
* `get_the_generator_{$type}`
* `get_{$adjacent}_post_join`
* `get_{$adjacent}_post_where`
* `get_{$adjacent}_post_sort`
* `{$adjacent}_post_rel_link`
* `{$adjacent}_post_link`
* `{$adjacent}_image_link`
* `blog_option_{$option}`
* `$permastructname . _rewrite_rules`
* `{$type}_template`
* `theme_mod_{$name}`
* `pre_set_theme_mod_$name`
* `current_theme_supports-{$feature}`
* `get_user_option_{$option}`
* `edit_user_{$field}`
* `pre_user_{$field}`
* `user_{$field}`
See #30552.
git-svn-id: https://develop.svn.wordpress.org/trunk@30656 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -909,7 +909,7 @@ function get_theme_mod( $name, $default = false ) {
|
||||
/**
|
||||
* Filter the theme modification, or 'theme_mod', value.
|
||||
*
|
||||
* The dynamic portion of the hook name, $name, refers to
|
||||
* The dynamic portion of the hook name, `$name`, refers to
|
||||
* the key name of the modification array. For example,
|
||||
* 'header_textcolor', 'header_image', and so on depending
|
||||
* on the theme options.
|
||||
@@ -943,7 +943,7 @@ function set_theme_mod( $name, $value ) {
|
||||
/**
|
||||
* Filter the theme mod value on save.
|
||||
*
|
||||
* The dynamic portion of the hook name, $name, refers to the key name of
|
||||
* The dynamic portion of the hook name, `$name`, refers to the key name of
|
||||
* the modification array. For example, 'header_textcolor', 'header_image',
|
||||
* and so on depending on the theme options.
|
||||
*
|
||||
@@ -1816,10 +1816,9 @@ function current_theme_supports( $feature ) {
|
||||
/**
|
||||
* Filter whether the current theme supports a specific feature.
|
||||
*
|
||||
* The dynamic portion of the hook name, $feature, refers to
|
||||
* the specific theme feature. Possible values include 'post-formats',
|
||||
* 'post-thumbnails', 'custom-background', 'custom-header', 'menus',
|
||||
* 'automatic-feed-links', and 'html5'.
|
||||
* The dynamic portion of the hook name, `$feature`, refers to the specific theme
|
||||
* feature. Possible values include 'post-formats', 'post-thumbnails', 'custom-background',
|
||||
* 'custom-header', 'menus', 'automatic-feed-links', and 'html5'.
|
||||
*
|
||||
* @since 3.4.0
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user