Function: Return allowed mime types.
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: Sanitize AnsPress question and answer description field for database.
Function: TinyMCE editor setting
Function: Remove stop words from post name if option is enabled.
Function: Get all ask form fields.
Method: Load tinyMCE assets using ajax.
Method: Ajax callback for converting a question into a post.
Method: Add qameta fields to post and prefetch metas and users.
Method: Check if anspress.php file exists in theme. If exists then load this template for AnsPress.