Activity_Helper::hooks()
Description #
Register all hooks of activities.
Source #
File: includes/class/class-activity-helper.php
private static function hooks() { anspress()->add_action( 'before_delete_post', __CLASS__, '_before_delete' ); anspress()->add_action( 'delete_comment', __CLASS__, '_delete_comment' ); anspress()->add_action( 'delete_user', __CLASS__, '_delete_user' ); anspress()->add_action( 'ap_ajax_more_activities', __CLASS__, '_ajax_more_activities' ); }
Expand full source code Collapse full source code View on GitHub: includes/class/class-activity-helper.php:82
Add your comment