type = $type; $this->link = $link; $this->text = $text; } /** * Get the button type, either "new", "more" or "setup" * * @return string * @since 25.0.0 */ public function getType(): string { return $this->type; } /** * Get the absolute url the buttons links to * * @return string * @since 25.0.0 */ public function getLink(): string { return $this->link; } /** * Get the translated text for the button * * @return string * @since 25.0.0 */ public function getText(): string { return $this->text; } }