WordPress at Your Fingertips
function is not described

upgrade_230_old_tables() WP 2.3.0

Remove old categories, link2cat, and post2cat database tables.

No Hooks.

Return

null. Nothing.

Usage

upgrade_230_old_tables();

Notes

  • Global. wpdb. $wpdb WordPress database abstraction object.

Changelog

Since 2.3.0 Introduced.

Code of upgrade_230_old_tables() WP 5.8.2

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' );
}