Request site tables on the network
-
Hello guys, I’m developing a real estate search engine for my network of websites, however i came across the problem that every site in the network, it creates a bunch of different tables.
Ex: wp_2_posts, wp_3_postmeta. So, i was wondering if there is any way i can recover for example “wp_3postmeta” in a variable, so that you can use like this:
$postmeta = wp_3_postmeta or $wp_postmeta (i don’t know if there is)
Or
global $wpdb or could exist a global $wp_postmeta.. I just pull this postmeta for given network web site.
Is there any way i pull the wp_posts for use as variable?
Sorry my bad english, i’m fron brazil and the brazilian Forum are abandoned :/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Request site tables on the network’ is closed to new replies.