learndash_get_post_types( $post_section_key = 'all', $return_type = 'array', $quote_char = '' )
Description #
Source #
Related #
Namespace #
@package #
Uses #
Uses | Description |
---|---|
includes/class-ldlms-post-types.php: LDLMS_Post_Types::get_post_types () |
Get an array of all custom tables. |
Used By #
Used By | Description |
---|---|
includes/class-ld-lms.php: SFWD_LMS::add_telemetry_modal () |
Shows Telemetry modal. |
themes/ld30/includes/helpers.php: learndash_get_course_step_attributes () |
Gets the course step attributes. |
includes/course/ld-course-user-functions.php: learndash_course_step_available_date () |
Gets the course step available date. |
includes/ld-misc-functions.php: learndash_get_post_title_filter () |
Returns the title for the post |
includes/shortcodes/ld_infobar.php: learndash_infobar_shortcode () |
Builds the |
includes/shortcodes/ld_materials.php: learndash_materials_shortcode_function () |
Builds the |
includes/shortcodes/ld_navigation.php: learndash_navigation_shortcode () |
Builds the |
includes/settings/shortcodes-sections/ld_infobar.php: LearnDash_Shortcodes_Section_ld_infobar::init_shortcodes_section_fields () |
Initialize the shortcode fields. |
includes/settings/shortcodes-sections/ld_navigation.php: LearnDash_Shortcodes_Section_ld_navigation::init_shortcodes_section_fields () |
Initialize the shortcode fields. |
includes/gutenberg/blocks/ld-infobar/index.php: LearnDash_Gutenberg_Block_Infobar::render_block () |
Render Block |
includes/gutenberg/blocks/ld-materials/index.php: LearnDash_Gutenberg_Block_Materials::render_block () |
Render Block |
includes/gutenberg/blocks/ld-navigation/index.php: LearnDash_Gutenberg_Block_Navigation::render_block () |
Render Block |
includes/class-ld-permalinks.php: LearnDash_Permalinks::attachment_link () |
Filter the attachment link when using nested URLs. |
includes/course/ld-course-steps-functions.php: learndash_course_steps_delete_post_meta () |
Deletes the metadata settings array when updating single setting. |
includes/course/ld-course-steps-functions.php: learndash_course_steps_add_post_meta () |
Add the metadata settings array when adding single setting. |
includes/course/ld-course-steps-functions.php: learndash_new_step_init () |
Handler function to post-process new inserted steps from learndash_insert_new_step. |
includes/course/ld-course-steps-functions.php: learndash_course_steps_update_post_meta () |
Updates the metadata settings array when updating single setting. |
includes/course/ld-course-steps-functions.php: learndash_new_step_insert () |
Handler function when a new course step is inserted. |
includes/ld-misc-functions.php: learndash_remove_lessons_and_quizzes_page () |
Redirects to the home page if the user lands on archive pages for lesson or quiz post types. |
includes/classes/class-ldlms-model-user-course-progress.php: LDLMS_Model_User_Course_Progress::build_course_progress_by_activity () |
Build the Course Progress node for ‘activity’ Activity. |
includes/rest-api/v2/class-ld-rest-courses-steps-controller.php: LD_REST_Courses_Steps_Controller_V2::get_course_steps () |
Retrieves course steps. |
includes/rest-api/v2/class-ld-rest-posts-controller.php: LD_REST_Posts_Controller_V2::rest_collection_params_filter () |
For LearnDash post type we override the default order/orderby to ASC/title instead of the WP default DESC/date. |
includes/rest-api/v2/class-ld-rest-posts-controller.php: LD_REST_Posts_Controller_V2::rest_prepare_response_filter () |
Override the REST response links. This is needed when Course Shared Steps is enabled. |
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/login-register-functions.php: learndash_add_login_field_top () |
Adds a hidden form field to the login form. |
themes/ld30/includes/shortcodes.php: learndash_login_shortcode () |
Builds the |
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: 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/shortcodes/ld_payment_buttons.php: learndash_payment_buttons_shortcode () |
Builds the |
includes/class-ld-permalinks.php: LearnDash_Permalinks::row_actions () |
Called via the WordPress List Table instance. This function will adjust the course step permalinks to be nested if enabled. |
includes/class-ld-permalinks.php: LearnDash_Permalinks::get_edit_post_link () |
Override WordPress Get Edit Post Link to include nested URL. |
includes/class-ld-permalinks.php: LearnDash_Permalinks::get_sample_permalink () |
Hook into the admin post editor Permalink display. We override the LD post items so they include the full nested URL |
includes/class-ld-permalinks.php: LearnDash_Permalinks::comment_form_top () |
Action for comment form when nested URLs are enabled. This way the user is returned to this course step URL |
includes/class-ld-permalinks.php: LearnDash_Permalinks::post_type_link () |
This second filter will correct calls to the WordPress get_permalink() function to use the new structure |
includes/class-ld-permalinks.php: learndash_redirect_post_location () |
Used when editing Lesson, Topic, Quiz or Question post items. This filter is needed to add the ‘course_id’ parameter back to the edit URL after the post is submitted (saved). |
includes/class-ld-cpt-instance.php: SFWD_CPT_Instance::template_redirect_access () |
Show course completion/quiz completion Action callback from ‘template_redirect’ (wp core action) |
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/shortcodes/ld_certificate.php: ld_certificate_shortcode () |
Builds the |
includes/settings/shortcodes-sections/course_complete.php: LearnDash_Shortcodes_Section_course_complete::init_shortcodes_section_fields () |
Initialize the shortcode fields. |
includes/settings/shortcodes-sections/course_inprogress.php: LearnDash_Shortcodes_Section_course_inprogress::init_shortcodes_section_fields () |
Initialize the shortcode fields. |
includes/settings/shortcodes-sections/course_notstarted.php: LearnDash_Shortcodes_Section_course_notstarted::init_shortcodes_section_fields () |
Initialize the shortcode fields. |
includes/settings/shortcodes-sections/learndash_course_progress.php: LearnDash_Shortcodes_Section_learndash_course_progress::init_shortcodes_section_fields () |
Initialize the shortcode fields. |
includes/settings/shortcodes-sections/learndash_payment_buttons.php: LearnDash_Shortcodes_Section_learndash_payment_buttons::init_shortcodes_section_fields () |
Initialize the shortcode fields. |
includes/settings/shortcodes-sections/course_content.php: LearnDash_Shortcodes_Section_course_content::init_shortcodes_section_fields () |
Initialize the shortcode fields. |
includes/settings/shortcodes-sections/courseinfo.php: LearnDash_Shortcodes_Section_courseinfo::init_shortcodes_section_fields () |
Initialize the shortcode fields. |
includes/settings/shortcodes-sections/ld_certificate.php: LearnDash_Shortcodes_Section_ld_certificate::init_shortcodes_section_fields () |
Initialize the shortcode fields. |
includes/settings/shortcodes-sections/ld_course_resume.php: LearnDash_Shortcodes_Section_ld_course_resume::init_shortcodes_section_fields () |
Initialize the shortcode 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/gutenberg/blocks/ld-payment-buttons/index.php: LearnDash_Gutenberg_Payment_Buttons::render_block () |
Render Block |
includes/gutenberg/blocks/ld-certificate/index.php: LearnDash_Gutenberg_Block_Certificate::render_block () |
Render Block |
includes/gutenberg/blocks/ld-course-content/index.php: LearnDash_Gutenberg_Block_Course_Content::render_block () |
Render Block |
includes/gutenberg/blocks/ld-course-resume/index.php: LearnDash_Gutenberg_Block_Course_Resume::render_block () |
Render Block |
includes/course/ld-course-steps-functions.php: learndash_transition_course_step_post_status () |
Updates the course step post status when a post is trashed or untrashed. |
includes/course/ld-course-steps-functions.php: learndash_course_get_steps_by_type () |
Gets the course steps by type. |
includes/shortcodes/ld_course_content.php: learndash_course_content_shortcode () |
Builds the |
includes/course/ld-course-user-functions.php: lesson_visible_after () |
Gets when the lesson will be available. |
includes/course/ld-course-functions.php: learndash_get_course_id () |
Gets the course ID for a resource. |
includes/course/ld-course-functions.php: learndash_get_lesson_id () |
Gets the lesson ID of a resource. |
includes/course/ld-course-progress.php: learndash_process_mark_complete () |
Updates the user meta with completion status for any resource. |
includes/shortcodes/ld_student.php: learndash_student_check_shortcode () |
Builds the |
includes/shortcodes/ld_visitor.php: learndash_visitor_check_shortcode () |
Builds the |
includes/shortcodes/ld_course_list.php: ld_course_list () |
Builds the |
includes/classes/class-ldlms-model-course-steps.php: LDLMS_Course_Steps::__construct () |
Public constructor for class. |
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 field is zero for course post types. |