public function __construct() { $this->namespace = 'buddypress/v1'; $this->rest_base = buddypress()->activity->id; }