print_media_templates

ACTION wp-includes\media-template.php (ligne 1584) github
Fires when the custom Backbone media templates are printed.

Paramètres

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

Utilisation

// Ajouter une fonction au hook action 'print_media_templates'
add_action('print_media_templates', 'ma_fonction_personnalisee', 10, 1);

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

Actualités

Chargement des actualités...