The following table contains all constants which were used by teachPress. All constants can be overwrite in the wp-config.php.

Constant Default Value Description
System constants
TEACHPRESS_COURSE_MODULE true Defines if the course module of teachPress is active
TEACHPRESS_ERROR_REPORTING false Defines if the error reporting is active or not
TEACHPRESS_FILE_LINK_CSS_CLASS linksecure tp_file_link Defines the CSS classes for file links which are inserted via the tinyMCE plugin
TEACHPRESS_FOREIGN_KEY_CHECKS true Defines if foreign key checks are enabled or disabled, while adding database tables
TEACHPRESS_PUBLICATION_MODULE true Defines if the publication module of teachPress is active
TEACHPRESS_TIME_LIMIT 240 Is used for PHP’s set_time_limit(). The plugin sets this value before an import or export of publications
Tables
TEACHPRESS_ARTEFACTS Defines the table name for teachpress_artefacts.
TEACHPRESS_ASSESSMENTS Defines the table name for teachpress_assessments.
TEACHPRESS_AUTHORS Defines the table name for teachpress_authors.
TEACHPRESS_COURSE_CAPABILITES Defines the table name for teachpress_course_cababilites.
TEACHPRESS_COURSE_DOCUMENTS Defines the table name for teachpress_course_documents.
TEACHPRESS_COURSE_META Defines the table name for teachpress_course_meta.
TEACHPRESS_COURSES Defines the table name for teachpress_courses.
TEACHPRESS_PUB Defines the table name for teachpress_pub.
TEACHPRESS_PUB_META Defines the table name for teachpress_pub_meta.
TEACHPRESS_REL_PUB_AUTH Defines the table name for teachpress_rel_pub_auth. This is the relationship publications to authors.
TEACHPRESS_RELATION Defines the table name for teachpress_relation. This is the relationship tags to publications.
TEACHPRESS_SETTINGS Defines the table name for teachpress_settings.
TEACHPRESS_SIGNUP Defines the table name for teachpress_signups.
TEACHPRESS_STUD Defines the table name for teachpress_stud.
TEACHPRESS_STUD_META Defines the table name for teachpress_stud_meta.
TEACHPRESS_TAGS Defines the table name for teachpress_tags.
TEACHPRESS_USER Defines the table name for teachpress_user. This is the relationship publications to users.