Automattic\WooCommerce\Blocks\Domain\Services

Hydration::disable_nonce_check()protectedWC 1.0

Disable the nonce check temporarily.

Method of the class: Hydration{}

No Hooks.

Return

null. Nothing (null).

Usage

// protected - for code of main (parent) or child class
$result = $this->disable_nonce_check();

Hydration::disable_nonce_check() code WC 9.1.2

protected function disable_nonce_check() {
	add_filter( 'woocommerce_store_api_disable_nonce_check', array( $this, 'disable_nonce_check_callback' ) );
}