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:
Mike Jolley 2019-01-14 17:00:37 +00:00 committed by GitHub
commit 1f63d59244
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}
/**