Give the downloads and payment methods pages their own filters.

This commit is contained in:
Justin Shreve 2016-02-16 11:52:08 -08:00
parent 63919c0804
commit b2b9d7e4da
1 changed files with 2 additions and 2 deletions

View File

@ -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' => ' ',