learndash_get_page_by_path learndash_get_page_by_path( string $slug = '', string $post_type = '' ) Gets the page data by page path. ContentsDescription Parameters Return Source Related Used By Description # Parameters # $slug (string) (Optional) The slug of the page. Default value: '' $post_type (string) (Optional) The post type slug. Default value: '' Return # (WP_Post|array|null) WP_Post object or array on success, null on failure. Source # File: includes/course/ld-course-functions.php Related # Used By # Used By Used By Description includes/course/ld-course-functions.php: learndash_check_course_step () Validates the URL requests when nested URL permalinks are used. 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.
Used By # Used By Used By Description includes/course/ld-course-functions.php: learndash_check_course_step () Validates the URL requests when nested URL permalinks are used. 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.