WC_Settings_Page::do_update_options_action()protectedWC 1.0

Trigger the 'woocommerce_update_options_'.id action.

Method of the class: WC_Settings_Page{}

Return

null. Nothing (null).

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

WC_Settings_Page::do_update_options_action() code WC 8.7.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 );
	}
}