WordPress at a glance
function is not described

WP_Customize_Widgets::is_option_capture_ignored() protected WP 3.9.0

Determines whether the captured option update should be ignored.

{} It's a method of the class: WP_Customize_Widgets{}

No Hooks.


true|false. Whether the option capture is ignored.


// protected - for code of main (parent) or child class
$result = $this->is_option_capture_ignored( $option_name );
$option_name(string) (required)
Option name.


Since 3.9.0 Introduced.

Code of WP_Customize_Widgets::is_option_capture_ignored() WP 5.7.2

protected function is_option_capture_ignored( $option_name ) {
	return ( 0 === strpos( $option_name, '_transient_' ) );