learndash_get_post_types( $post_section_key = 'all', $return_type = 'array', $quote_char = '' )
This function is documented in includes/class-ldlms-post-types.php
|includes/class-ldlms-post-types.php: LDLMS_Post_Types::get_post_types ()||
Get an array of all custom tables.
Used By #
|includes/ld-groups.php: learndash_group_leader_has_cap_filter ()||
Check if the Group Leader can edit the Group or Course posts.
|includes/class-ld-search.php: LearnDash_Search::pre_get_posts ()||
Filter WP_Query instance to add LD search logic.
|includes/settings/settings-sections/class-ld-settings-section-groups-membership.php: LearnDash_Settings_Groups_Membership::load_settings_fields ()||
Initialize the metabox settings fields.
|includes/ld-misc-functions.php: learndash_get_single_post ()||
Gets a single
|themes/ld30/includes/shortcodes.php: learndash_login_shortcode ()||
|themes/ld30/includes/login-register-functions.php: learndash_add_login_field_top ()||
Adds a hidden form field to the login form.
|includes/ld-misc-functions.php: learndash_is_protected_meta ()||
Prevents Custom Fields meta box from showing/saving LD keys.
|includes/ld-misc-functions.php: learndash_body_classes ()||
Adds custom classes to the body.
|includes/ld-misc-functions.php: learndash_post_type_supports_comments ()||
Checks whether a learndash post type supports comments or not.
|includes/ld-misc-functions.php: learndash_update_posts_comment_status ()||
Updates the comment_status field for all the post of given post type.
|includes/ld-misc-functions.php: ld_remove_lessons_and_quizzes_page ()||
Redirects to the home page if the user lands on archive pages for lesson or quiz post types.
|includes/ld-misc-functions.php: learndash_remove_comments ()||
Removes all comments for learndash post types.
|includes/ld-misc-functions.php: learndash_comments_open ()||
Ensures the comments are open for assignments.
|includes/class-ld-cpt-instance.php: SFWD_CPT_Instance::template_content ()||
Generate output for courses, lessons, topics, quizzes Filter callback for ‘the_content’ (wp core filter)
|includes/settings/shortcodes-sections/courseinfo.php: LearnDash_Shortcodes_Section_courseinfo::init_shortcodes_section_fields ()|
|includes/rest-api/v1/class-ld-rest-posts-controller.php: LD_REST_Posts_Controller_V1::rest_prepare_response_filter ()||
Override the REST response links. This is needed when Course Shared Steps is enabled.
|includes/shortcodes/ld_course_list.php: ld_course_list ()||
|includes/admin/class-learndash-admin-posts-edit.php: Learndash_Admin_Post_Edit::filter_post_parent ()||
Filter post_parent before update/insert. Ensure the post_parent fiel is zero for course post types.