Activity::prefetch()

Method: Prefetch question, answer, comment and user data.

Activity::query()

Method: Prepare and fetch notifications from database.

Activity_Helper::get_activity()

Method: Get activity by activity_id.

Activity_Helper::delete()

Method: Delete single and multiple activity from database.

ap_activity_deleted

Action Hook: Hook triggered right after an AnsPress activity is deleted from database.

Activity::__construct()

Method: Initialize the activity class.

Activity

Class: The activity query.

Activity_Helper::insert()

Method: Insert activity data into the database. `$q_id` argument cannot be left blank as it is required.

Activity_Helper::action_exists()

Method: Check if activity action exists.

Activity_Helper::get_action()

Method: Return a single registered action of AnsPress.