Class WC_Braintree_Rest_API
Methods summary
public
|
|
public static
|
|
public
|
|
public
|
|
private
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public static
boolean
|
#
is_rest_api_request( )
Returns true if this is a REST request and it matches the Braintree plugin namespace. |
public static
boolean
|
#
is_frontend_rest_request( )
Returns true if this is a WP Rest request specific to the Braintree plugin. Not all Braintree REST requests will return true, these must be specific to frontend requests like adding to the cart. |
public static
boolean
|
|
public
|
|
public static
|
|
public static
string
|
Properties summary
private
array
|
$controllers
|
#
array()
|
private
boolean
|
$force_routes
@since 3.2.8 |
#
false
|