do_action( "customize_preview_{$this->type}", WP_Customize_Setting $this )

Fires when the WP_Customize_Setting::preview() method is called for settings not handled as theme_mods or options.

Description

The dynamic portion of the hook name, $this->type, refers to the setting type.

Parameters

$this

(WP_Customize_Setting) WP_Customize_Setting instance.

Source

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

View on Trac

Changelog

Version Description
4.1.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/customize_preview_this-type