Activity::group_end()

Method: End group loop.

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

Class: The activity query.

Activity::__construct()

Method: Initialize the activity class.

Activity::query()

Method: Prepare and fetch notifications from database.

Activity_Helper::prepare_actions()

Method: Prepare all actions of activity. Numeric keys are used here so that we can save space while saving in database.

ap_activity_actions

Filter Hook: Filter allows adding new activity actions. This hook is only called once while class initiate. Hence, later filters will not work. Also make sure to keep array key length less then 20 characters.

Activity_Helper::get_actions()

Method: Return all registered actions of AnsPress.