Files: includes/class-ld-cpt-instance.php

do_robots

Action Hook: Display the robots.txt file content. (wp core action)

learndash_remove_template_content_filter

Filter Hook: Remove the hook into the WP ‘the_content’ filter once we are in our handler. This will allow other templates to call the ‘the_content’ filter without causing recusion.