Filter: woocommerce_pos_jwt_auth_token_before_dispatch

apply_filters( 'woocommerce_pos_jwt_auth_token_before_dispatch', $data, $user ) → {object}

Let the user modify the data before sending it back

Parameters:
Name Type Description
$data object
$user WP_User
Since:
  • 1.0.0
Source:
Returns:

Response data

Type
object