W3cubDocs

/WordPress

apply_filters( ‘themes_api_args’, object $args, string $action )

Filters arguments used to query for installer pages from the WordPress.org Themes API.

Description

Important: An object MUST be returned to this filter.

Parameters

$argsobject
Arguments used to query for installer pages from the WordPress.org Themes API.
$actionstring
Requested action. Likely values are 'theme_information', 'feature_list', or 'query_themes'.

Source

$args = apply_filters( 'themes_api_args', $args, $action );

Changelog

Version Description
2.8.0 Introduced.

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