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.

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.

Code of WP_Customize_Widgets::is_option_capture_ignored() WP 5.5.1

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