Searching a custom WP table and displaying results in an HTML table
There’s a lot going on in the code, so I rewrote your main function with some comments. Overview of notes: $address_table is superfluous, and also probably not what you wanted You only use this variable once, so it’s safe to just in-line it in your query. Also, your use of $wpdb->prefix expands $address_table to the … Read more