Yoast\WP\SEO\Generators\Schema
Organization::is_needed() public Yoast 1.0
Determines whether an Organization graph piece should be added.
{} Это метод класса: Organization{}
Хуков нет.
Возвращает
true/false.
Использование
$Organization = new Organization(); $Organization->is_needed();
Код Organization::is_needed() Organization::is needed Yoast 15.6.2
public function is_needed() {
return $this->context->site_represents === 'company';
}