W3cubDocs

/WordPress

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

File: wp-admin/includes/theme.php

View on Trac

Changelog

Version Description
2.8.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/themes_api_result