ap_addon_activation_hook()

Function: Register a callback function which triggred after activating an addon.

ap_array_insert_after()

Function: Insert a value or key/value pair after a specific key in an array. If key doesn’t exist, value is appended to the end of the array.

ap_qameta_fields()

Function: Default qameta table fields with values.

ap_insert_qameta()

Function: Insert post meta

ap_delete_qameta()

Function: Delete qameta row.

ap_get_qameta()

Function: Get a qameta by post_id

ap_append_qameta()

Function: Append post object with apmeta fields.

ap_update_answers_count()

Function: Update count of answers in post meta.

ap_update_votes_count()

Function: Update qameta votes count

ap_set_selected_answer()

Function: Set selected answer for a question