SFWD_CPT::add_post_type SFWD_CPT::add_post_type() Registers the custom post type, adds filter to register taxonomy and flushes rewrite rules after registration ContentsDescription Source Changelog Related @package Uses Used By Description # Source # File: sfwd-lms/includes/class-ld-cpt.php Changelog # Changelog Version Description 2.1.0 Introduced. Related # @package # LearnDash / CPT Uses # Uses Uses Description sfwd-lms/includes/class-ld-cpt.php: sfwd_cpt_options Filters the custom post type registration options. sfwd-lms/includes/class-ld-cpt.php: learndash_flush_rewrite_rules Filters whether to flush the rewrite rules. sfwd-lms/includes/class-ld-permalinks.php: learndash_setup_rewrite_flush () Utility function to set the option to trigger flush of rewrite rules. Used By # Used By Used By Description sfwd-lms/includes/class-ld-cpt.php: SFWD_CPT::activate () Activate
Uses # Uses Uses Description sfwd-lms/includes/class-ld-cpt.php: sfwd_cpt_options Filters the custom post type registration options. sfwd-lms/includes/class-ld-cpt.php: learndash_flush_rewrite_rules Filters whether to flush the rewrite rules. sfwd-lms/includes/class-ld-permalinks.php: learndash_setup_rewrite_flush () Utility function to set the option to trigger flush of rewrite rules.
Used By # Used By Used By Description sfwd-lms/includes/class-ld-cpt.php: SFWD_CPT::activate () Activate