wp_foxlms_courses

Static

Stores foxlms courses data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idINT(16) UNSIGNEDNO
post_idINT(16) UNSIGNEDYES
author_idINT(16) UNSIGNEDNO
titleTEXTNO
descriptionTEXTNO
category_idsTEXTNO
question_idsTEXTNO
lesson_idsTEXTNO
section_idsTEXTNO
sections_countINT(11)NO
questions_countINT(11)NO
lessons_countINT(11)NO
date_createdDATETIMENO
date_modifiedDATETIMENO
imageTEXTNO
statusVARCHAR(256)NO
trash_statusVARCHAR(256)NO
orderingINT(16)NO
custom_post_idINT(16) UNSIGNEDYES
conditionsLONGTEXTNO
optionsTEXTNO

CREATE TABLE Statement

CREATE TABLE `wp_foxlms_courses` ( `id` INT(16) UNSIGNED NOT NULL AUTO_INCREMENT, `post_id` INT(16) UNSIGNED DEFAULT NULL, `author_id` INT(16) UNSIGNED NOT NULL DEFAULT '0', `title` TEXT NOT NULL, `description` TEXT NOT NULL, `category_ids` TEXT NOT NULL, `question_ids` TEXT NOT NULL, `lesson_ids` TEXT NOT NULL, `section_ids` TEXT NOT NULL, `sections_count` INT(11) NOT NULL DEFAULT '0', `questions_count` INT(11) NOT NULL DEFAULT '0', `lessons_count` INT(11) NOT NULL DEFAULT '0', `date_created` DATETIME NOT NULL DEFAULT '1000-01-01 00:00:00', `date_modified` DATETIME NOT NULL DEFAULT '1000-01-01 00:00:00', `image` TEXT NOT NULL, `status` VARCHAR(256) NOT NULL DEFAULT 'published', `trash_status` VARCHAR(256) NOT NULL DEFAULT '', `ordering` INT(16) NOT NULL, `custom_post_id` INT(16) UNSIGNED DEFAULT NULL, `conditions` LONGTEXT NOT NULL, `options` TEXT NOT NULL, PRIMARY KEY (`id`) ) $charset_collate;"; $results = $wpdb->get_results(// phpcs:ignore $wpdb->prepare( "SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = %s AND table_name = 'wp_foxlms_courses' ", DB_NAME ) );

Safe to delete?

If you have uninstalled Fox LMS – eLearning & Course Builder, this table is generally safe to remove. However, always back up your database first.

Note: Some plugins share tables or are dependencies of other plugins. Verify nothing else depends on this table before dropping it.

How to remove this table

DROP TABLE IF EXISTS `wp_foxlms_courses`;

Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.

Other tables from Fox LMS – eLearning & Course Builder