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.


Top ↑

Parameters

$response

(array)Additional information passed back to the 'saved' event on wp.customize.

$manager

(WP_Customize_Manager)WP_Customize_Manager instance.


Top ↑

Source

File: wp-includes/class-wp-customize-manager.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More