Yoast\WP\SEO\Editors\Domain\Analysis_Features
Analysis_Feature::to_array
Return this object represented by a key value array.
Метод класса: Analysis_Feature{}
Хуков нет.
Возвращает
array<string, bool>. Returns the name and if the feature is enabled.
Использование
$Analysis_Feature = new Analysis_Feature(); $Analysis_Feature->to_array(): array;
Код Analysis_Feature::to_array() Analysis Feature::to array Yoast 28.4
public function to_array(): array {
return [ $this->name => $this->is_enabled ];
}