Support » Plugins and Hacks » Filter THEN sort results

Filter THEN sort results

  • Hello,
    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:
    add_filter('relevanssi_hits_filter', 'order_the_results');

    What will be the correct\preferred way of doing this?


Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Filter THEN sort results’ is closed to new replies.