LDLMS_Post_Types

LDLMS_Post_Types

Class to create the instance.


Description #


Source #

File: includes/class-ldlms-post-types.php


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