ap_get_current_timestamp()

Function: Return current timestamp.

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.

ap_get_addon_image()

Function: Get addon image.

ap_addon_has_options()

Function: Check if addon has options.

ap_addons

Filter Hook: This hooks can be used to filter existing addons or for adding new addons.

is_anspress

Filter Hook: Filter for overriding is_anspress() return value.

ap_is_cpt()

Function: Check if post object is AnsPress CPT i.e. question or answer.

ap_current_user_id()

Function: Get current user id for AnsPress profile.

ap_main_pages_id()

Function: Return post IDs of main pages.

ap_comment_form()

Function: Generate comment form.