W3cubDocs

/WordPress

do_action( “customize_save_{$id_base}”, WP_Customize_Setting $setting )

Fires when the WP_Customize_Setting::save() method is called.

Description

The dynamic portion of the hook name, $id_base refers to the base slug of the setting name.

Parameters

$settingWP_Customize_Setting

Source

do_action( "customize_save_{$id_base}", $this );

Changelog

Version Description
3.4.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/customize_save_id_base