customize_render_panel

ACTION wp-includes\class-wp-customize-panel.php (ligne 287) github
Fires before rendering a Customizer panel.

Paramètres

Entrée :
$this
Sortie :
@param WP_Customize_Panel $panel WP_Customize_Panel instance.

Utilisation

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

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

Actualités

Chargement des actualités...