Yoast\WP\SEO\Llms_Txt\Domain\Content_Types

Content_Type_Entry::get_slug │ public │ Yoast 1.0

Gets the slug of the content type entry.

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

Хуков нет.

Возвращает

string. The slug of the content type entry.

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

$Content_Type_Entry = new Content_Type_Entry();
$Content_Type_Entry->get_slug(): string;

Код Content_Type_Entry::get_slug() Yoast 28.9

public function get_slug(): string {
	return $this->slug;
}