From b2b9d7e4daa99ed3af5fe4df86658fc89ff0396a Mon Sep 17 00:00:00 2001 From: Justin Shreve Date: Tue, 16 Feb 2016 11:52:08 -0800 Subject: [PATCH] Give the downloads and payment methods pages their own filters. --- includes/wc-account-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/wc-account-functions.php b/includes/wc-account-functions.php index eba1df1edac..a29ca1fb9eb 100644 --- a/includes/wc-account-functions.php +++ b/includes/wc-account-functions.php @@ -187,7 +187,7 @@ function wc_get_account_orders_query_args( $current_page = 1 ) { * @return array */ function wc_get_account_downloads_columns() { - return apply_filters( 'woocommerce_account_orders_columns', array( + return apply_filters( 'woocommerce_account_downloads_columns', array( 'download-file' => __( 'File', 'woocommerce' ), 'download-remaining' => __( 'Remaining', 'woocommerce' ), 'download-expires' => __( 'Expires', 'woocommerce' ), @@ -202,7 +202,7 @@ function wc_get_account_downloads_columns() { * @return array */ function wc_get_account_payment_methods_columns() { - return apply_filters( 'woocommerce_account_orders_columns', array( + return apply_filters( 'woocommerce_account_payment_methods_columns', array( 'method' => __( 'Method', 'woocommerce' ), 'expires' => __( 'Expires', 'woocommerce' ), 'actions' => ' ',