Automattic\WooCommerce\Admin\Features\Settings
Transformer::flush_current_checkbox_group()
Flush current checkbox group to transformed settings.
Method of the class: Transformer{}
No Hooks.
Return
null
. Nothing (null).
Usage
// private - for code of main (parent) class only $result = $this->flush_current_checkbox_group(): void;
Transformer::flush_current_checkbox_group() Transformer::flush current checkbox group code WC 9.7.1
private function flush_current_checkbox_group(): void { if ( is_array( $this->current_checkbox_group ) ) { if ( is_array( $this->current_group ) ) { $this->current_group = array_merge( $this->current_group, $this->current_checkbox_group ); } else { $this->current_group = $this->current_checkbox_group; } $this->current_checkbox_group = null; } }