WP_Customize_Widgets::count_captured_options
Retrieves the number of captured widget option updates.
Method of the class: WP_Customize_Widgets{}
No Hooks.
Returns
Int. Number of updated options.
Usage
// protected - for code of main (parent) or child class $result = $this->count_captured_options();
Changelog
| Since 3.9.0 | Introduced. |
WP_Customize_Widgets::count_captured_options() WP Customize Widgets::count captured options code WP 7.0
protected function count_captured_options() {
return count( $this->_captured_options );
}