I’m wondering which is best to use in plugins for extra tables. The docs at http://codex.wordpress.org/Creating_Tables_with_Plugins says to use $table_prefix, but that requires an extra global declaration, as $wpdb is usually already declared global where needed.
Is it because $wpdb->prefix wasn’t always available? If so, which version did it appear?
- The topic ‘$wpdb->prefix vs $table_prefix’ is closed to new replies.