print_head_scripts

FUNCTION wp-includes\script-loader.php (ligne 2112) github
Prints the script queue in the HTML head on admin pages. Postpones the scripts that were queued for the footer. print_footer_scripts() is called in the footer to print these scripts.

Paramètres

Entrée :
N/A
Sortie :
@return string[] Handles of the scripts that were printed.

Utilisation

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

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

Actualités

Chargement des actualités...