Docs: Improve documentation for the `$feature` parameter in the DocBlock for `add_theme_support()`.
See #32246. See #37067. git-svn-id: https://develop.svn.wordpress.org/trunk@37671 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
15a12ce4f0
commit
5c645d8cde
|
@ -1524,7 +1524,9 @@ function get_editor_stylesheets() {
|
||||||
*
|
*
|
||||||
* @global array $_wp_theme_features
|
* @global array $_wp_theme_features
|
||||||
*
|
*
|
||||||
* @param string $feature The feature being added.
|
* @param string $feature The feature being added. Likely core values include 'post-formats',
|
||||||
|
* 'post-thumbnails', 'html5', 'custom-logo', 'custom-header-uploads',
|
||||||
|
* 'custom-header', 'custom-background', 'title-tag', etc.
|
||||||
* @return void|bool False on failure, void otherwise.
|
* @return void|bool False on failure, void otherwise.
|
||||||
*/
|
*/
|
||||||
function add_theme_support( $feature ) {
|
function add_theme_support( $feature ) {
|
||||||
|
|
Loading…
Reference in New Issue