LDLMS_Post_Types
Class to create the instance.
Description #
Source #
Methods #
- __construct — Public constructor for class
- get_all_post_types_set — Utility function to return array of all LearnDash post types with key.
- get_post_type_key — Utility function to return the post type key. This is to prevent hard-coding of the key throughout the code files.
- get_post_type_slug — Utility function to return the post type slug(s). This is to prevent hard-coding of the slug(s) throughout the code files.
- get_post_types — Get an array of all custom tables.
- init — Public Initialize function for class