WPSEO_Abstract_Post_Filter::get_post_types()protectedYoast 1.0

Returns the post types to which this filter should be added.

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

Хуков нет.

Возвращает

Массив. The post types to which this filter should be added.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_post_types();

Код WPSEO_Abstract_Post_Filter::get_post_types() Yoast 22.4

protected function get_post_types() {
	return WPSEO_Post_Type::get_accessible_post_types();
}