1
vote
1answer
446 views

Custom post type search using $_SESSION and pre_get_posts

I've been hacking all day at a custom post type search/filter system. So far I have this: function kdev_property_query($query) { if(isset($_POST['rooms_n'])) $_SESSION['rooms_n'] = ...