Yoast\WP\SEO\Schema_Aggregator\Domain

External_Schema_Piece_Repository_Interface::supports │ public │ Yoast 1.0

Checks if this repository supports the given post type.

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

Хуков нет.

Возвращает

bool. True if this repository can provide schema for the post type.

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

$External_Schema_Piece_Repository_Interface = new External_Schema_Piece_Repository_Interface();
$External_Schema_Piece_Repository_Interface->supports( $post_type ): bool;
$post_type(строка) (обязательный)
The post type to check.

Код External_Schema_Piece_Repository_Interface::supports() Yoast 28.9

public function supports( string $post_type ): bool;