WPSEO_Upgrade_History::get() public Yoast 1.0
Retrieves the content of the history items currently stored.
{} Это метод класса: WPSEO_Upgrade_History{}
Хуков нет.
Возвращает
Массив. The contents of the history option.
Использование
$WPSEO_Upgrade_History = new WPSEO_Upgrade_History(); $WPSEO_Upgrade_History->get();
Код WPSEO_Upgrade_History::get() WPSEO Upgrade History::get Yoast 15.9.1
public function get() {
$data = get_option( $this->get_option_name(), [] );
if ( ! is_array( $data ) ) {
return [];
}
return $data;
}