WP_Customize_Widgets::is_option_capture_ignored() WordPress Method
The WP_Customize_Widgets::is_option_capture_ignored() method is used to check whether the widget option capture should be ignored.
WP_Customize_Widgets::is_option_capture_ignored( string $option_name ) #
Determines whether the captured option update should be ignored.
Parameters
- $option_name
(string)(Required)Option name.
Return
(bool) Whether the option capture is ignored.
Source
File: wp-includes/class-wp-customize-widgets.php
protected function is_option_capture_ignored( $option_name ) { return ( 0 === strpos( $option_name, '_transient_' ) ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |