Yoast\WP\SEO\Dashboard\Domain\Score_Results
Current_Score::get_links_to_array()
Gets the links of the current score in the expected key value representation.
Метод класса: Current_Score{}
Хуков нет.
Возвращает
Массив<Строку,Строку>
. The links of the current score in the expected key value representation.
Использование
$Current_Score = new Current_Score(); $Current_Score->get_links_to_array(): ?array;
Код Current_Score::get_links_to_array() Current Score::get links to array Yoast 24.4
public function get_links_to_array(): ?array { $links = []; if ( $this->links === null ) { return $links; } foreach ( $this->links as $key => $link ) { if ( $link === null ) { continue; } $links[ $key ] = $link; } return $links; }