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

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.


Top ↑

Parameters

$setting WP_Customize_Setting

Top ↑

Source

File: wp-includes/class-wp-customize-setting.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
4.1.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.