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

WC_Gateway_Paypal::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_Gateway_Paypal{}

Хуков нет.

Возвращает

true|false. was anything saved?

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

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

Код WC_Gateway_Paypal::process_admin_options() WC 5.7.1

public function process_admin_options() {
	$saved = parent::process_admin_options();

	// Maybe clear logs.
	if ( 'yes' !== $this->get_option( 'debug', 'no' ) ) {
		if ( empty( self::$log ) ) {
			self::$log = wc_get_logger();
		}
		self::$log->clear( 'paypal' );
	}

	return $saved;
}