I added templates in theme’s views folder for learndash post types and created custom actions (using add_action and do_action) to call/render learndash courses content, custom action is having plugin code which is rendering single lesson, courses list, and other course content.
Now, content is not rendering in wp pages, where I want to list my lessons/courses using wp blocks (Screenshot attached in my question)