Yoast\WP\SEO\Dashboard\Domain\Content_Types
Content_Type::set_taxonomy()
Sets the taxonomy that filters the content type.
Метод класса: Content_Type{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$Content_Type = new Content_Type(); $Content_Type->set_taxonomy( ?Taxonomy $taxonomy ): void;
- ?Taxonomy $taxonomy (обязательный)
- -
Код Content_Type::set_taxonomy() Content Type::set taxonomy Yoast 24.4
public function set_taxonomy( ?Taxonomy $taxonomy ): void { $this->taxonomy = $taxonomy; }