WC_Settings_Page::save()

Save settings.


Description Description


Source Source

File: includes/admin/settings/class-wc-settings-page.php

131
132
133
134
135
136
137
138
139
140
public function save() {
    global $current_section;
 
    $settings = $this->get_settings();
    WC_Admin_Settings::save_fields( $settings );
 
    if ( $current_section ) {
        do_action( 'woocommerce_update_options_' . $this->id . '_' . $current_section );
    }
}


Top ↑

User Contributed Notes User Contributed Notes

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