woocommerce_account_payment_methods_columns filter-hookWC 2.6.0

Get My Account > Payment methods columns.

Usage

add_filter( 'woocommerce_account_payment_methods_columns', 'wp_kama_woocommerce_account_payment_methods_columns_filter' );

/**
 * Function for `woocommerce_account_payment_methods_columns` filter-hook.
 * 
 * @param  $array 
 *
 * @return 
 */
function wp_kama_woocommerce_account_payment_methods_columns_filter( $array ){

	// filter...
	return $array;
}
$array
-

Changelog

Since 2.6.0 Introduced.

Where the hook is called

wc_get_account_payment_methods_columns()
woocommerce_account_payment_methods_columns
woocommerce/includes/wc-account-functions.php 240-247
return apply_filters(
	'woocommerce_account_payment_methods_columns',
	array(
		'method'  => __( 'Method', 'woocommerce' ),
		'expires' => __( 'Expires', 'woocommerce' ),
		'actions' => ' ',
	)
);

Where the hook is used in WooCommerce

Usage not found.