Description
Allows to add card types to the Card Offline payment plugin.
Parameters
- $types
- (Array) Array of supported card types.
Example
function my_tcp_card_offline_cart_types( $types ) { $types[] = array( 'id' => 'amex', 'title' => 'AMEX', ); return $types; } add_action( 'tcp_card_offline_cart_types', 'my_tcp_card_offline_cart_types' );
Change Log
Since 1.1.0