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. git-svn-id: https://develop.svn.wordpress.org/trunk@34649 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9e4c655b2a
commit
8fa143dc2e
@ -308,7 +308,7 @@ function get_theme_feature_list( $api = true ) {
|
|||||||
* an object is returned.
|
* an object is returned.
|
||||||
*
|
*
|
||||||
* The second filter, {@see 'themes_api'}, allows a plugin to override the WordPress.org
|
* 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.
|
* 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
|
* 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:
|
* 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 |
|
* | `$slug` | No | Yes | No | No |
|
||||||
* | `$per_page` | Yes | No | No | No |
|
* | `$per_page` | Yes | No | No | No |
|
||||||
|
Loading…
Reference in New Issue
Block a user