bbp_add_user_to_object

bbp_add_user_to_object

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_add_user_to_object') is found 1 times:

  • /includes/users/engagements.php line 34
    	$user_id   = absint( $user_id );
    	$retval    = bbp_user_engagements_interface( $rel_key, $rel_type )->add_user_to_object( $object_id, $user_id, $rel_key, $rel_type, $unique );
    
    	// Filter & return
    	return (bool) apply_filters( 'bbp_add_user_to_object', $retval, $object_id, $user_id, $rel_key, $rel_type, $unique );
    }
    
    /**
     * Remove a user id from an object
     *
     * @since 2.6.0 bbPress (r6109)