LLMS_Post_Types
LLMS_Post_Types class
Description Description
Source Source
File: includes/class.llms.post-types.php
Changelog Changelog
Version | Description |
---|---|
3.37.12 | Added 'revisions' support to course, lesson, and llms_mebership post types. |
3.34.1 | Add the custom property show_in_llms_rest set to true by default, to those taxonomies we want to be shown in LLMS REST api. |
3.33.0 | llms_question post type is not publicly queryable anymore. |
3.30.3 | Removed duplicate array keys when registering course_tag taxonomy. |
1.0.0 | Introduced. |
Methods Methods
- add_membership_restriction_support — Add post type support for membership restrictions
- add_thumbnail_support — Ensure LifterLMS Post Types have thumbnail support
- deregister_sitemap_post_types — De-register protected post types from wp-sitemap.xml
- get_order_statuses — Retrieve all registered order statuses
- get_post_type_caps — Get an array of capabilities for a custom post type
- get_tax_caps — Retrieve taxonomy capabilities for custom taxonomies
- init — Constructor
- register_post_statuses — Register post statuses
- register_post_type — Register a custom post type
- register_post_types — Register Post Types.
- register_taxonomies — Register Taxonomies
- register_taxonomy — Register a custom post type taxonomy Automatically checks for duplicates and filters data