ap_activity_parse()

Function: Parse raw activity returned from database. Rename column name append action data.

ap_get_recent_activity()

Function: Return recent activity of question or answer.

ap_recent_activity()

Function: Output recent activities of a post.

ap_prefetch_recent_activities()

Function: Prefetch activities of posts.

ap_activity_object()

Function: Get the global AnsPress activity instance.

ap_activity_add()

Function: Insert activity into database. This function is an alias of @see AnsPress\Activity_Helper::insert().

ap_delete_post_activity()

Function: Delete all activities related to a post.

ap_delete_comment_activity()

Function: Delete all activities related to a comment.

ap_post_comments()

Function: A wrapper function for @see ap_the_comments() for using in post templates.

ap_current_user_id()

Function: Get current user id for AnsPress profile.