WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

Yoast\WP\SEO\Integrations\Third_Party

Elementor_Exclude_Post_Types::exclude_elementor_post_types() public Yoast 1.0

Exclude certain Elementor-specific post types from the indexable table.

Posts with these post types will not be saved to the indexable table.

{} Это метод класса: Elementor_Exclude_Post_Types{}

Хуков нет.

Возвращает

Массив. The excluded post types, including the excluded Elementor post types.

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

$Elementor_Exclude_Post_Types = new Elementor_Exclude_Post_Types();
$Elementor_Exclude_Post_Types->exclude_elementor_post_types( $excluded_post_types );
$excluded_post_types(массив) (обязательный)
The excluded post types.

Код Elementor_Exclude_Post_Types::exclude_elementor_post_types() Yoast 15.6.2

<?php
public function exclude_elementor_post_types( $excluded_post_types ) {
	$excluded_post_types[] = 'elementor_library';

	return $excluded_post_types;
}