Yoast\WP\SEO\Llms_Txt\Domain\Markdown\Items

Link::__constructpublicYoast 1.0

Class constructor.

Метод класса: Link{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$Link = new Link();
$Link->__construct( $text, $anchor, $description );
$text(строка) (обязательный)
The link text.
$anchor(строка) (обязательный)
The anchor text.
$description(строка)
The description.
По умолчанию: ''

Код Link::__construct() Yoast 27.6

public function __construct( string $text, string $anchor, string $description = '' ) {
	$this->text        = $text;
	$this->anchor      = $anchor;
	$this->description = $description;
}