AnsPress_Reputation_Query::the_icon()

Method: Echo current reputation icon.

AnsPress_Reputation_Query::get_activity()

Method: Return current reputation activity.

AnsPress_Reputation_Query::the_activity()

Method: Echo current reputation activity.

AnsPress_Reputation_Query::the_ref_content()

Method: Out put reference content.

AP_QA_Query_Hooks::sql_filter()

Method: Alter WP_Query mysql query for question and answers.

AP_QA_Query_Hooks::posts_results()

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

AP_QA_Query_Hooks::posts_pre_query()

Method: Filter to override default WP method to count total found posts using SQL_CALC_FOUND_ROWS. Prevent AnsPress quries to use SQL_CALC_FOUND_ROWS which is an old MySql function. Query takes too much time SQL_CALC_FOUND_ROWS in a site where there are more then a million posts.

AnsPress_Views::init()

Method: Initialize the plugin by setting localization and loading public scripts and styles.

AnsPress_Views::insert_views()

Method: Insert view count on loading single question page.

AnsPress_Views::delete_views()

Method: Delete views count when post is deleted.