gpb_rest_calculated_price
Description
Filter the calculated price before returning to frontend.
Usage
Applied globally
add_filter( 'gpb_rest_calculated_price', 'my_custom_function' );
Parameters
$price
float
The calculated price.
$calculation_data
array
The data used for calculation.
$request
WP_REST_Request
The REST request.