Filters arguments used to query for installer pages from the WordPress.org Themes API. Important: An object MUST be returned to this filter.
$themes = null
Sortie :
@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', @param false|object|array $override Whether to override the WordPress.org Themes API. Default false. @param string $action Requested action. Likely values are 'theme_information', @param object $args Arguments used to query for installer pages from the Themes API. @param array|stdClass|WP_Error $res WordPress.org Themes API response. @param string $action Requested action. Likely values are 'theme_information', @param stdClass $args Arguments used to query for installer pages from the WordPress.org Themes API. @param WP_Theme[] $themes Optional. Array of theme objects to prepare. @return array An associative array of theme data, sorted by name.
// Utilisation de la fonction wp_prepare_themes_for_js
$result = wp_prepare_themes_for_js($themes = null);
if ($result) {
// Votre logique ici
}
Chargement des actualités...