Create new A_Z_Listing class in functions.php using AJAX
-
Hi there,
I’ve been digging around in the plugin code for a while now and had to luck achieving this.
Wondering if you can help me finish it off?
Basically, I have JavaScript and PHP functions that filter by location or search text for store locations, and I’m trying to use the PHP part to output an updateable AZ listing.
Here’s the part I;m having trouble getting right:
$query = array( 'post_type' => $posttype, 's' => $search_value, 'tax_query' => $tax_query, ); $a_z_query = new A_Z_Listing( $query ); var_dump($a_z_query);
The $query variable is storing the correct data, but $a_z_query throws an error. Could you point me in the right direction please?
Mike
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Create new A_Z_Listing class in functions.php using AJAX’ is closed to new replies.