customize_save_response WordPress Filter Hook
The customize_save_response WordPress hook is triggered when a customization setting is saved. This hook allows you to modify the server response before it is sent back to the client. This can be useful for processing the setting data before it is saved, or for providing feedback to the user after the setting is saved.
apply_filters( 'customize_save_response', array $response , WP_Customize_Manager $manager ) #
Filters response data for a successful customize_save Ajax request.
Description
This filter does not apply if there was a nonce or authentication failure.
Parameters
- $response
(array)Additional information passed back to the 'saved' event on
wp.customize
.- $manager
(WP_Customize_Manager)WP_Customize_Manager instance.
Source
Changelog
Version | Description |
---|---|
4.2.0 | Introduced. |