apply_filters( 'themes_api_result', array|object|WP_Error $res, string $action, object $args )
Filters the returned WordPress.org Themes API response.
Parameters
- $res
-
(array|object|WP_Error) WordPress.org Themes API response.
- $action
-
(string) Requested action. Likely values are 'theme_information', 'feature_list', or 'query_themes'.
- $args
-
(object) Arguments used to query for installer pages from the WordPress.org Themes API.
Source
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/themes_api_result