W3cubDocs

/WordPress

WP_Customize_Widgets::count_captured_options()

Retrieves the number of captured widget option updates.

Return

(int) Number of updated options.

Source

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

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

Changelog

Version Description
3.9.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_widgets/count_captured_options