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.

ap_update_total_flags_count()

Function: Update total flagged question and answer count.

ap_total_flagged_count()

Function: Return total flagged post count.

ap_check_spam()

Function: Check post for spam, if spam then hold it for moderation.

ap_upload_user_file()

Function: Upload and create an attachment. Set post_status as _ap_temp_media, later it will be removed using cron if no post parent is set.

ap_upload_js_init()

Function: Initialize AnsPress uploader settings.

ap_allowed_mimes()

Function: Return allowed mime types.

ap_post_upload_form()

Function: Upload form.