Yoast\WP\SEO\Introductions\Domain
Introduction_Item::to_array()
Returns an array representation of the data.
Метод класса: Introduction_Item{}
Хуков нет.
Возвращает
Массив
. Returns in an array format.
Использование
$Introduction_Item = new Introduction_Item(); $Introduction_Item->to_array();
Код Introduction_Item::to_array() Introduction Item::to array Yoast 24.4
public function to_array() { return [ 'id' => $this->get_id(), 'priority' => $this->get_priority(), ]; }