woocommerce_payment_token_added_to_order action-hookWC 1.0

Usage

add_action( 'woocommerce_payment_token_added_to_order', 'wp_kama_woocommerce_payment_token_added_to_order_action', 10, 4 );

/**
 * Function for `woocommerce_payment_token_added_to_order` action-hook.
 * 
 * @param  $id        
 * @param  $token_id  
 * @param  $token     
 * @param  $token_ids 
 *
 * @return void
 */
function wp_kama_woocommerce_payment_token_added_to_order_action( $id, $token_id, $token, $token_ids ){

	// action...
}
$id
-
$token_id
-
$token
-
$token_ids
-

Where the hook is called

WC_Abstract_Order::add_payment_token()
woocommerce_payment_token_added_to_order
woocommerce/includes/abstracts/abstract-wc-order.php 1615
do_action( 'woocommerce_payment_token_added_to_order', $this->get_id(), $token->get_id(), $token, $token_ids );

Where the hook is used in WooCommerce

Usage not found.