admin_head_{$content_func}

ACTION wp-admin\includes\media.php (ligne 603) github
Fires in the admin header for each specific form tab in the legacy (pre-3.5.0) media upload popup. The dynamic portion of the hook name, `$content_func`, refers to the form callback for the media upload type.

Paramètres

Entrée :
N/A
Sortie :
N/A

Utilisation

// Ajouter une fonction au hook action 'admin_head_{$content_func}'
add_action('admin_head_{$content_func}', 'ma_fonction_personnalisee', 10, 1);

function ma_fonction_personnalisee() {
    // Votre code ici
    error_log('Hook admin_head_{$content_func} déclenché');
}

Actualités

Chargement des actualités...