get_theme_starter_content

FUNCTION wp-includes\theme.php (ligne 2276) github
Filters the array of URLs of stylesheets applied to the editor.

Paramètres

Entrée :
N/A
Sortie :
@param string[] $stylesheets Array of URLs of stylesheets to be applied to the editor.
@return array Array of starter content.

Utilisation

// Utilisation de la fonction get_theme_starter_content
$result = get_theme_starter_content();

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...