ap_update_total_flags_count()

Function: Update total flagged question and answer count.

ap_add_flag()

Function: Add flag vote data to ap_votes table.

ap_is_user_flagged()

Function: Check if user already flagged a post.

ap_flag_btn_args()

Function: Flag button html.

ap_delete_flags()

Function: Delete multiple posts flags.

AnsPress_Flag::action_flag()

Method: Ajax callback to process post flag button

ap_total_flagged_count()

Function: Return total flagged post count.

ap_count_post_flags()

Function: Count flag votes.

AnsPress_Flag

Class: All flag methods.