WP_Customize_Setting::_preview_filter( mixed $original )
Callback function to filter non-multidimensional theme mods and options.
Description
If switch_to_blog() was called after the preview() method, and the current site is now not the same site, then this method does a no-op and returns the original value.
Parameters
- $original
-
(Required) Old value.
Return
(mixed) New or old value.
Source
File: wp-includes/class-wp-customize-setting.php
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |