WordPress at a glance
function is not described

upgrade_230_old_tables() WP 2.3.0

Remove old categories, link2cat, and post2cat database tables.

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

No Hooks.

Return

Nothing (null).

Usage

upgrade_230_old_tables();

Code of upgrade 230 old tables: wp-admin/includes/upgrade.php VER 5.0.3

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