s2member business directory plugin
-
I’m looking to filter business directory searches based on s2member category restrictions. I’ve traversed through the business directory core files and have noticed a few places where i could maybe filter incoming arguments dynamically but i’m having a hard time figuring out what filter or action to use along side business directory to filter the results. From what i can tell when a post is searched they use something like this
function search($args){ global $wpdbp; ... some $arg and $query setup here... $query .= ' WHERE ' . apply_filters('wpbdp_search_where', $where, $args); $query = apply_filters( 'wpbdp_search_query ', $query, $args ); return $wpdb->get_col($query); }the reason i’m editing the core files is because s2member and business directory do integrate somewhat… the only place they do not integrate is during business directories search functionaility.
The topic ‘s2member business directory plugin’ is closed to new replies.