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


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

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

	return $excluded_post_types;