Yoast\WP\SEO\Schema_Aggregator\Domain

External_Schema_Piece_Repository_Interface::supportspublicYoast 1.0

Checks if this repository supports the given post type.

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

Хуков нет.

Возвращает

true|false. 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 27.7

public function supports( string $post_type ): bool;