Docs: Clarify possible types passed to the themes_api_result
filter.
See #32246 git-svn-id: https://develop.svn.wordpress.org/trunk@37209 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b24e181d17
commit
f2f356acfe
@ -479,10 +479,10 @@ function themes_api( $action, $args = array() ) {
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @param array|object $res WordPress.org Themes API response.
|
||||
* @param string $action Requested action. Likely values are 'theme_information',
|
||||
* 'feature_list', or 'query_themes'.
|
||||
* @param object $args Arguments used to query for installer pages from the WordPress.org Themes API.
|
||||
* @param array|object|WP_Error $res WordPress.org Themes API response.
|
||||
* @param string $action Requested action. Likely values are 'theme_information',
|
||||
* 'feature_list', or 'query_themes'.
|
||||
* @param object $args Arguments used to query for installer pages from the WordPress.org Themes API.
|
||||
*/
|
||||
return apply_filters( 'themes_api_result', $res, $action, $args );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user