Results from plugin table w/o hacking wp-db.php (1 post)

  1. karimun
    Posted 7 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic