bbp_remove_user_from_object

bbp_remove_user_from_object

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_remove_user_from_object') is found 1 times:

  • /includes/users/engagements.php line 53
    function bbp_remove_user_from_object( $object_id = 0, $user_id = 0, $rel_key = '', $rel_type = 'post' ) {
    	$retval = bbp_user_engagements_interface( $rel_key, $rel_type )->remove_user_from_object( $object_id, $user_id, $rel_key, $rel_type );
    
    	// Filter & return
    	return (bool) apply_filters( 'bbp_remove_user_from_object', $retval, $object_id, $user_id, $rel_key, $rel_type );
    }
    
    /**
     * Remove a user id from all objects
     *
     * @since 2.6.0 bbPress (r6109)