customize_render_section

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

Paramètres

Entrée :
$this
Sortie :
@param WP_Customize_Section $section WP_Customize_Section instance.

Utilisation

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

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

Actualités

Chargement des actualités...