$tablename = $wpdb->prefix . "name"; $sql = "CREATE TABLE IF NOT EXISTS {$tablename}( ... );"; require_once(ABSPATH . \'wp-admin/include