Forums Forums Search & Filter Pro S&F – AE Pro Posts Blocks – custom query filter, query not filtering

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #228758

    I resolved it myself.

    The explanation by Elem of the Custom Query Filter using the Query ID is a bit different from the explanation of the AE Posts Blocks Query Filter. Using theirs I managed to get it to work.

    function my_super_filter_function($query_args){
      $query_args['search_filter_id'] = 123;
      return $query_args;
    }
    add_filter('my_super_filter', 'my_super_filter_function');
    Trevor
    #228782

    Thanks for sharing, that is very useful. I will close this thread for now.

Viewing 2 posts - 1 through 2 (of 2 total)