Activity_Helper::get_actions()

Method: Return all registered actions of AnsPress.

ap_activity_inserted

Action Hook: Hook called right after an activity get inserted to 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::prepare_actions()

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

Activity_Helper::_delete_user()

Method: Callback for `delete_user`.

Activity_Helper::_delete_comment()

Method: Callback for `delete_comment`.

Activity_Helper::_before_delete()

Method: Callback for `before_delete_post`.

Activity_Helper::hooks()

Method: Register all hooks of activities.

Activity_Helper

Class: Class which has helper methods for AnsPress activities.

AnsPress_Theme::the_content_single_question()

Method: Filter single question content to render [anspress] shortcode.