WordPress at Your Fingertips
function is not described

WC_Payment_Tokens::get_token_classname() protected WC 3.8.0

Get classname based on token type.

{} It's a method of the class: WC_Payment_Tokens{}

Hooks from the method
Return

String.

Usage

$result = WC_Payment_Tokens::get_token_classname( $type );
$type(string) (required)
Token type.

Changelog

Since 3.8.0 Introduced.

Code of WC_Payment_Tokens::get_token_classname() WC 5.6.0

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 );
}