WP_Customize_Widgets::is_option_capture_ignored()protectedWP 3.9.0

Determines whether the captured option update should be ignored.

Method of the class: WP_Customize_Widgets{}

No Hooks.

Return

true|false. Whether the option capture is ignored.

Usage

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

Changelog

Since 3.9.0 Introduced.

WP_Customize_Widgets::is_option_capture_ignored() code WP 6.5.2

protected function is_option_capture_ignored( $option_name ) {
	return ( str_starts_with( $option_name, '_transient_' ) );
}