customize_render_control

ACTION wp-includes\class-wp-customize-control.php (ligne 408) github
Fires just before the current Customizer control is rendered.

Paramètres

Entrée :
$this
Sortie :
@param WP_Customize_Control $control WP_Customize_Control instance.

Utilisation

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

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

Actualités

Chargement des actualités...