Right now i’m using one filter ( order_the_results) for both filtering (based on user roles) and sorting (based on url eg. “orderby=some_custom_field”)
Then i use add_filter for this function:
What will be the correct\preferred way of doing this?
- The topic ‘Filter THEN sort results’ is closed to new replies.