From 8ac49d448bfb9f21c2ff64409629bcdc01d5f8eb Mon Sep 17 00:00:00 2001 From: The Dramatist Date: Thu, 23 Nov 2017 17:49:12 +0600 Subject: [PATCH] Unused parameter removed form get_filters method of WC_Helper class. (#17888) --- includes/admin/helper/class-wc-helper.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/includes/admin/helper/class-wc-helper.php b/includes/admin/helper/class-wc-helper.php index ab14291d400..d50c0e4fb5c 100644 --- a/includes/admin/helper/class-wc-helper.php +++ b/includes/admin/helper/class-wc-helper.php @@ -321,11 +321,9 @@ class WC_Helper { /** * Get available subscriptions filters. * - * @param array Optional subscriptions array to generate counts. - * * @return array An array of filter keys and labels. */ - public static function get_filters( $subscriptions = null ) { + public static function get_filters() { $filters = array( 'all' => __( 'All', 'woocommerce' ), 'active' => __( 'Active', 'woocommerce' ),