Access another wordpress database

$newdb = new wpdb($DB_USER, $DB_PASSWORD, $DB_NAME, $DB_HOST);
$newdb->show_errors();

你可能感兴趣的:(WordPress,WordPress)