customize_render_section_{$this->id}

ACTION wp-includes\class-wp-customize-section.php (ligne 313) github
Fires before rendering a specific Customizer section. The dynamic portion of the hook name, `$this->id`, refers to the ID of the specific Customizer section to be rendered.

Paramètres

Entrée :
N/A
Sortie :
N/A

Utilisation

// Ajouter une fonction au hook action 'customize_render_section_{$this->id}'
add_action('customize_render_section_{$this->id}', 'ma_fonction_personnalisee', 10, 1);

function ma_fonction_personnalisee() {
    // Votre code ici
    error_log('Hook customize_render_section_{$this->id} déclenché');
}

Actualités

Chargement des actualités...