Filter hook 'themes_api_args'
in WP Core File wp-admin/includes/theme.php at line 528
Description
Filters arguments used to query for installer pages from the WordPress.org Themes API. Important: An object MUST be returned to this filter.
Occurrences
Filename |
Line Number |
wp-admin/includes/theme.php |
528 |
Parameters
Type |
Name |
Description |
object |
$args |
Arguments used to query for installer pages from the WordPress.org Themes API. |
string |
$action |
Requested action. Likely values are 'theme_information', 'feature_list', or 'query_themes'. |
PHP Doc
/**
* Filters arguments used to query for installer pages from the WordPress.org Themes API.
*
* Important: An object MUST be returned to this filter.
*
* @since 2.8.0
*
* @param object $args Arguments used to query for installer pages from the WordPress.org Themes API.
* @param string $action Requested action. Likely values are 'theme_information',
* 'feature_list', or 'query_themes'.
*/