Merge pull request #22257 from manchumahara/patch-1
Add $orderby and $order params to filter woocommerce_get_catalog_ordering_args
This commit is contained in:
commit
1f63d59244
|
@ -502,7 +502,7 @@ class WC_Query {
|
|||
break;
|
||||
}
|
||||
|
||||
return apply_filters( 'woocommerce_get_catalog_ordering_args', $args );
|
||||
return apply_filters( 'woocommerce_get_catalog_ordering_args', $args, $orderby, $order );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue