Results from plugin table w/o hacking wp-db.php
In a page template I use:
$test = $wpdb->get_results(“THE_QUERY_STRING”)
to query results from a database table created by a plugin, so its NOT a wordpress table installed by default.
This works ONLY if I add the table name to $tables array in wp-db.php
How do you gather results from a plugin table without changing code inside wp-db.php?
- The topic ‘Results from plugin table w/o hacking wp-db.php’ is closed to new replies.