Yoast\WP\SEO\Llms_Txt\Domain\Markdown\Items
Link::render
Renders the link item.
Метод класса: Link{}
Хуков нет.
Возвращает
Строку.
Использование
$Link = new Link(); $Link->render(): string;
Код Link::render() Link::render Yoast 26.9
public function render(): string {
$description = ( $this->description !== '' ) ? ": $this->description" : '';
return "[$this->text]($this->anchor)$description";
}