ap_theme_compat_reset_post()

Function: This fun little function fills up some WordPress globals with dummy data to stop your average page template from complaining about it missing.

AnsPress_Theme::template_include_theme_compat()

Method: Reset main query vars and filter ‘the_content’ to output a AnsPress template part as needed.

ap_remove_all_filters()

Function: Removes all filters from a WordPress filter, and stashes them in the anspress() global in the event they need to be restored later.