WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\StoreApi\Routes

Checkout::requires_nonce() protected WC 1.0

Checks if a nonce is required for the route.

{} It's a method of the class: Checkout{}

No Hooks.

Return

true|false.

Usage

// protected - for code of main (parent) or child class
$result = $this->requires_nonce( $request );
$request(WP_REST_Request) (required)
Request.

Code of Checkout::requires_nonce() WC 5.7.1

protected function requires_nonce( \WP_REST_Request $request ) {
	return true;
}