after_wp_tiny_mce

ACTION wp-includes\class-wp-editor.php (ligne 1745) github
Fires after any core TinyMCE editor instances are created.

Paramètres

Entrée :
self::$mce_settings
Sortie :
@param array $mce_settings TinyMCE settings array.

Utilisation

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

function ma_fonction_personnalisee(self::$mce_settings) {
    // Votre code ici
    error_log('Hook after_wp_tiny_mce déclenché');
}

Actualités

Chargement des actualités...