ap_allowed_mimes()

Function: Return allowed mime types.

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_sanitize_description_field()

Function: Sanitize AnsPress question and answer description field for database.

ap_tinymce_editor_settings()

Function: TinyMCE editor setting

ap_remove_stop_words_post_name()

Function: Remove stop words from post name if option is enabled.

ap_get_ask_form_fields()

Function: Get all ask form fields.

AnsPress_Ajax::load_tinymce()

Method: Load tinyMCE assets using ajax.

AnsPress_Ajax::convert_to_post()

Method: Ajax callback for converting a question into a post.

AP_QA_Query_Hooks::posts_results()

Method: Add qameta fields to post and prefetch metas and users.

AnsPress_Theme::anspress_basepage_template()

Method: Check if anspress.php file exists in theme. If exists then load this template for AnsPress.