Unused parameter removed form get_filters method of WC_Helper class. (#17888)
This commit is contained in:
parent
18e7b25eab
commit
8ac49d448b
|
@ -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' ),
|
||||
|
|
Loading…
Reference in New Issue