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