LDLMS_Post_Types
Class to create the instance.
Description Description
Source Source
File: includes/class-ldlms-post-types.php
Methods Methods
- __construct — Public constructor for class
- 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