Yoast\WP\SEO\Integrations\Third_Party
Elementor::current_post_type_has_taxonomies() protected Yoast 1.0
Determines whether or not the current post type has registered taxonomies.
{} Это метод класса: Elementor{}
Хуков нет.
Возвращает
true/false. Whether the current post type has taxonomies.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->current_post_type_has_taxonomies();
Код Elementor::current_post_type_has_taxonomies() Elementor::current post type has taxonomies Yoast 15.6.2
protected function current_post_type_has_taxonomies() {
$post_taxonomies = \get_object_taxonomies( $this->get_metabox_post()->post_type );
return ! empty( $post_taxonomies );
}