woocommerce_is_rest_api_request

woocommerce_is_rest_api_request

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_is_rest_api_request') is found 1 times:

  • /includes/class-woocommerce.php line 524
    		 * Whether this is a REST API request.
    		 *
    		 * @since 3.6.0
    		 */
    		return apply_filters( 'woocommerce_is_rest_api_request', $is_rest_api_request );
    	}
    
    	/**
    	 * Returns true if the request is a store REST API request.
    	 *
    	 * @return bool