WC_Payment_Tokens::get_token_classname( string $type )
Get classname based on token type.
Description Description
Parameters Parameters
- $type
-
(Required) Token type.
Return Return
(string)
Source Source
File: includes/class-wc-payment-tokens.php
protected static function get_token_classname( $type ) { /** * Filter payment token class per type. * * @since 3.8.0 * @param string $class Payment token class. * @param string $type Token type. */ return apply_filters( 'woocommerce_payment_token_class', 'WC_Payment_Token_' . $type, $type ); }
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |