A WordPress-centric search engine for devs and theme authors



upgrade_230_old_tables ›

Since2.3.0
Deprecatedn/a
upgrade_230_old_tables ( No parameters )
Defined at:
Codex:

Remove old categories, link2cat, and post2cat database tables.



Source

function upgrade_230_old_tables() {
	global $wpdb;
	$wpdb->query( 'DROP TABLE IF EXISTS ' . $wpdb->prefix . 'categories' );
	$wpdb->query( 'DROP TABLE IF EXISTS ' . $wpdb->prefix . 'link2cat' );
	$wpdb->query( 'DROP TABLE IF EXISTS ' . $wpdb->prefix . 'post2cat' );
}