Merge pull request #10364 from justinshreve/account-function-filters

Give the downloads and payment methods tabs their own filters.
This commit is contained in:
Claudio Sanches 2016-02-16 18:05:57 -02:00
commit 1e5b024019
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' => ' ',