Method: Update users temproary attachment count before a attachment deleted.
Function: Return allowed mime types.
Filter Hook: Filter allowed mimes types.
Function: Delete all un-attached media of user.
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.
Function: Pre fetch and cache all question and answer attachments.
Function: Check if user have uploaded maximum numbers of allowed attachments.
Function: Update users temproary media uploads count.
Function: Count temporary attachments of a user.
Function: Set parent post for an attachment.