autoship_add{$type}payment_method (filter)

( src > payments.php) Where $type is the QPilot payment method type and this also can be used to filter the payment method data sent to QPilot. Takes the current $payment_method_data, the (payment method) $type, and the (WooCommerce) $token (object).

Code:

$payment_method_data = apply_filters( "autoship_add_{$type}_payment_method", $payment_method_data, $type, $token );

Included in these Functions:

autoship_add_general_payment_method ()