WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Платформа для конвертации и монетизации трафика
функция не описана

WC_Settings_API::process_admin_options() public WC 1.0

Processes and saves options. If there is an error thrown, will continue to save and validate fields, but will leave the erroring field out.

{} Это метод класса: WC_Settings_API{}

Возвращает

true/false. was anything saved?

Использование

$WC_Settings_API = new WC_Settings_API();
$WC_Settings_API->process_admin_options();

Код WC_Settings_API::process_admin_options() WC 4.7.1

<?php
public function process_admin_options() {
	$this->init_settings();

	$post_data = $this->get_post_data();

	foreach ( $this->get_form_fields() as $key => $field ) {
		if ( 'title' !== $this->get_field_type( $field ) ) {
			try {
				$this->settings[ $key ] = $this->get_field_value( $key, $field, $post_data );
			} catch ( Exception $e ) {
				$this->add_error( $e->getMessage() );
			}
		}
	}

	return update_option( $this->get_option_key(), apply_filters( 'woocommerce_settings_api_sanitized_fields_' . $this->id, $this->settings ), 'yes' );
}