Filter hook 'themes_api_result'

in WP Core File wp-admin/includes/theme.php at line 641

Description

Filters the returned WordPress.org Themes API response.

Occurrences

Filename Line Number
wp-admin/includes/theme.php 641

Parameters

Type Name Description
array|stdClass|WP_Error $res WordPress.org Themes API response.
string $action Requested action. Likely values are 'theme_information', 'feature_list', or 'query_themes'.
stdClass $args Arguments used to query for installer pages from the WordPress.org Themes API.

PHP Doc

/**
	 * Filters the returned WordPress.org Themes API response.
	 *
	 * @since 2.8.0
	 *
	 * @param array|stdClass|WP_Error $res    WordPress.org Themes API response.
	 * @param string                  $action Requested action. Likely values are 'theme_information',
	 *                                        'feature_list', or 'query_themes'.
	 * @param stdClass                $args   Arguments used to query for installer pages from the WordPress.org Themes API.
	 */