woocommerce_new_payment_token

woocommerce_new_payment_token

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_new_payment_token') is found 1 times:

  • /includes/data-stores/class-wc-payment-token-data-store.php line 74
    		if ( $token->is_default() && $token->get_user_id() > 0 ) {
    			WC_Payment_Tokens::set_users_default( $token->get_user_id(), $token_id );
    		}
    
    		do_action( 'woocommerce_new_payment_token', $token_id, $token );
    	}
    
    	/**
    	 * Update a payment token.
    	 *
    	 * @since 3.0.0
    

See this hook used in plugins: