WordPress at Your Fingertips
function is not described

WC_Settings_Page::do_update_options_action() protected WC 1.0

Trigger the 'woocommerce_update_options_'.id action.

{} It's a method of the class: WC_Settings_Page{}

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->do_update_options_action( $section_id );
$section_id(string)
Section to trigger the action for, or null for current section.
Default: null

Code of WC_Settings_Page::do_update_options_action() WC 5.9.0

protected function do_update_options_action( $section_id = null ) {
	global $current_section;

	if ( is_null( $section_id ) ) {
		$section_id = $current_section;
	}

	if ( $section_id ) {
		do_action( 'woocommerce_update_options_' . $this->id . '_' . $section_id );
	}
}