Fires before save validation happens. Plugins can add just-in-time {@see 'customize_validate_{$this->ID}'} filters at this point to catch any settings registered after `customize_register`. The dynamic portion of the hook name, `$this->ID` refers to the setting ID.
$this
Sortie :
@param WP_Customize_Manager $manager WP_Customize_Manager instance.
// Ajouter une fonction au hook action 'customize_save_validation_before'
add_action('customize_save_validation_before', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($this) {
// Votre code ici
error_log('Hook customize_save_validation_before déclenché');
}
Chargement des actualités...