Automattic\WooCommerce\Internal\Admin\Settings\PaymentsProviders\WooPayments

WooPaymentsService::save_nox_profileprivateWC 1.0

Save the NOX profile data.

Method of the class: WooPaymentsService{}

No Hooks.

Returns

true|false. Whether the data was saved.

Usage

// private - for code of main (parent) class only
$result = $this->save_nox_profile( $data ): bool;
$data(array) (required)
The data to save in the profile.

WooPaymentsService::save_nox_profile() code WC 10.8.1

private function save_nox_profile( array $data ): bool {
	return $this->proxy->call_function( 'update_option', self::NOX_PROFILE_OPTION_KEY, $data, false );
}