gpaa_compute_routes_request
Description
Filter the request body sent to Google’s Compute Routes endpoint.
Usage
Applied globally
add_filter( 'gpaa_compute_routes_request', 'my_custom_function' );Parameters
$body
array
The request body.
$origin
string
The origin address.
$destination
string
The destination address.
Since
2.0Hook added.