GC_Customize_Widgets::start_capturing_option_updates()
最后更新于:2021-11-27 12:39:16
GC_Customize_Widgets::start_capturing_option_updates()Begins keeping track of changes to widget options, caching new values.
源文件
文件: gc-includes/class-gc-customize-widgets.php
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 );
}