apply_filters( ‘themes_api_result’, array|stdClass|WP_Error $res, string $action, stdClass $args )

In this article

Filters the returned WordPress.org Themes API response.

Parameters

$resarray|stdClass|WP_Error
WordPress.org Themes API response.
$actionstring
Requested action. Likely values are 'theme_information', 'feature_list', or 'query_themes'.
$argsstdClass
Arguments used to query for installer pages from the WordPress.org Themes API.

Source

return apply_filters( 'themes_api_result', $res, $action, $args );

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.