customize_render_panel_{$this->id}

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

Paramètres

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

Utilisation

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

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

Actualités

Chargement des actualités...