Yoast\WP\SEO\Llms_Txt\Domain\Markdown\Sections
Title::escape_markdown
Escapes the markdown content.
Метод класса: Title{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Title = new Title(); $Title->escape_markdown( $markdown_escaper ): void;
- $markdown_escaper(Markdown_Escaper) (обязательный)
- The markdown escaper.
Код Title::escape_markdown() Title::escape markdown Yoast 27.6
public function escape_markdown( Markdown_Escaper $markdown_escaper ): void {
$this->site_title = $markdown_escaper->escape_markdown_content( $this->site_title );
$this->site_tagline = $markdown_escaper->escape_markdown_content( $this->site_tagline );
}