bp_activity_before_action_delete_activity, $_POST[id], $comment->user_id

bp_activity_before_action_delete_activity, $_POST[id], $comment->user_id

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: buddypress.14.5.2

do_action('bp_activity_before_action_delete_activity, $_POST[id], $comment->user_id') is found 1 times:

  • /bp-templates/bp-legacy/buddypress-functions.php line 1225
    		exit( '-1' );
    	}
    
    	/** This action is documented in bp-activity/bp-activity-actions.php */
    	do_action( 'bp_activity_before_action_delete_activity', $_POST['id'], $comment->user_id );
    
    	if ( ! bp_activity_delete_comment( $comment->item_id, $comment->id ) ) {
    		exit( '-1<div id="message" class="error bp-ajax-message"><p>' . esc_html__( 'There was a problem when deleting. Please try again.', 'buddypress' ) . '</p></div>' );
    	}
    
    	/** This action is documented in bp-activity/bp-activity-actions.php */