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.
Source
File: wp-includes/class-wp-customize-widgets.php
2051 2052 2053 | protected function get_captured_options() { return $this ->_captured_options; } |
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |