WP_Customize_Widgets::is_option_capture_ignored( string $option_name ): bool

In this article

Determines whether the captured option update should be ignored.

Parameters

$option_namestringrequired
Option name.

Return

bool Whether the option capture is ignored.

Source

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

Changelog

VersionDescription
3.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.