WP_Customize_Widgets::get_captured_options() WordPress Method

The WP_Customize_Widgets::get_captured_options() method is used to get the captured options for a given widget instance. This is useful for retrieving the options that were set when the widget was first created, before any changes were made to the widget.

WP_Customize_Widgets::get_captured_options() #

Retrieves captured widget option updates.


Return

(array) Array of captured options.


Top ↑

Source

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

	protected function get_captured_options() {
		return $this->_captured_options;
	}


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