woocommerce_payment_token_deleted action-hookWC 1.0

Usage

add_action( 'woocommerce_payment_token_deleted', 'wp_kama_woocommerce_payment_token_deleted_action', 10, 2 );

/**
 * Function for `woocommerce_payment_token_deleted` action-hook.
 * 
 * @param  $token_id 
 * @param  $token    
 *
 * @return void
 */
function wp_kama_woocommerce_payment_token_deleted_action( $token_id, $token ){

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

Where the hook is called

WC_Payment_Token_Data_Store::delete()
woocommerce_payment_token_deleted
woocommerce/includes/data-stores/class-wc-payment-token-data-store.php 138
do_action( 'woocommerce_payment_token_deleted', $token->get_id(), $token );

Where the hook is used in WooCommerce

Usage not found.