Docs: Fix two typos in the DocBlock description for themes_api():
* The fourth `$action` type is 'feature_list' * The first `$action` type in the data table should be 'query_themes' See #34036. Built from https://develop.svn.wordpress.org/trunk@34649 git-svn-id: http://core.svn.wordpress.org/trunk@34613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -308,7 +308,7 @@ function get_theme_feature_list( $api = true ) {
|
||||
* an object is returned.
|
||||
*
|
||||
* The second filter, {@see 'themes_api'}, allows a plugin to override the WordPress.org
|
||||
* Theme API entirely. If `$action` is 'query_themes', 'theme_information', or 'hot_categories',
|
||||
* Theme API entirely. If `$action` is 'query_themes', 'theme_information', or 'feature_list',
|
||||
* an object MUST be passed. If `$action` is 'hot_tags`, an array should be passed.
|
||||
*
|
||||
* Finally, the third filter, {@see 'themes_api_result'}, makes it possible to filter the
|
||||
@@ -316,7 +316,7 @@ function get_theme_feature_list( $api = true ) {
|
||||
*
|
||||
* Supported arguments per action:
|
||||
*
|
||||
* | Argument Name | 'query_plugins' | 'theme_information' | 'hot_tags' | 'feature_list' |
|
||||
* | Argument Name | 'query_themes' | 'theme_information' | 'hot_tags' | 'feature_list' |
|
||||
* | -------------------| :-------------: | :-----------------: | :--------: | :--------------: |
|
||||
* | `$slug` | No | Yes | No | No |
|
||||
* | `$per_page` | Yes | No | No | No |
|
||||
|
||||
Reference in New Issue
Block a user