customize_save_validation_before WordPress Action Hook
The customize_save_validation_before hook is called before changes are saved to the database. This hook can be used to validate settings before they are saved.
do_action( 'customize_save_validation_before', WP_Customize_Manager $manager ) #
Fires before save validation happens.
Description
Plugins can add just-in-time ‘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.
Parameters
- $manager
(WP_Customize_Manager)WP_Customize_Manager instance.
Source
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |