Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / includes/class-wc-payment-tokens.php

WC_Payment_Tokens::get()

Method: Get a token object by ID.

Source: includes/class-wc-payment-tokens.php:143

Used by 4 functions | Uses 2 functions

WC_Payment_Tokens::delete()

Method: Remove a payment token from the database by ID.

Source: includes/class-wc-payment-tokens.php:176

Used by 2 functions | Uses 2 functions

WC_Payment_Tokens::set_users_default()

Method: Loops through all of a users payment tokens and sets is_default to false for all but a specific token.

Source: includes/class-wc-payment-tokens.php:192

Used by 3 functions | Uses 2 functions

WC_Payment_Tokens::get_token_type_by_id()

Method: Returns what type (credit card, echeck, etc) of token a token is by ID.

Source: includes/class-wc-payment-tokens.php:212

Used by 1 function | Uses 1 function

WC_Payment_Tokens::get_token_classname()

Method: Get classname based on token type.

Source: includes/class-wc-payment-tokens.php:224

Used by 2 functions | Uses 1 function

woocommerce_payment_token_class

Filter Hook: Filter payment token class per type.

Source: includes/class-wc-payment-tokens.php:232

Used by 1 function | Uses 0 functions

WC_Payment_Tokens::get_order_tokens()

Method: Returns an array of payment token objects associated with the passed order ID.

Source: includes/class-wc-payment-tokens.php:112

Used by 0 functions | Uses 2 functions

WC_Payment_Tokens

Class: Payment tokens class.

Source: includes/class-wc-payment-tokens.php:17

Used by 0 functions | Uses 0 functions

WC_Payment_Tokens::get_tokens()

Method: Gets valid tokens from the database based on user defined criteria.

Source: includes/class-wc-payment-tokens.php:33

Used by 4 functions | Uses 2 functions

WC_Payment_Tokens::get_customer_tokens()

Method: Returns an array of payment token objects associated with the passed customer ID.

Source: includes/class-wc-payment-tokens.php:68

Used by 4 functions | Uses 2 functions
1 2 Next »
Proudly powered by WordPress