Fires before the upload button in the media upload interface.
N/A
Sortie :
// Ajouter une fonction au hook action 'pre-html-upload-ui'
add_action('pre-html-upload-ui', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee() {
// Votre code ici
error_log('Hook pre-html-upload-ui déclenché');
}
Chargement des actualités...