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_' ) );
	}

Changelog

Version Description
3.9.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_widgets/is_option_capture_ignored