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.


Top ↑

Return

(bool) Whether the option capture is ignored.


Top ↑

Source

File: wp-includes/class-wp-customize-widgets.php

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


Top ↑

Changelog

Changelog
VersionDescription
3.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More