WP_Customize_Widgets::start_capturing_option_updates()

In this article

Begins keeping track of changes to widget options, caching new values.

Source

protected function start_capturing_option_updates() {
	if ( $this->_is_capturing_option_updates ) {
		return;
	}

	$this->_is_capturing_option_updates = true;

	add_filter( 'pre_update_option', array( $this, 'capture_filter_pre_update_option' ), 10, 3 );
}

Changelog

VersionDescription
3.9.0Introduced.

User Contributed Notes

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