Yoast\WP\SEO\Values\OAuth
OAuth_Token::to_array
Converts the object to an array.
Метод класса: OAuth_Token{}
Хуков нет.
Возвращает
array. The converted object.
Использование
$OAuth_Token = new OAuth_Token(); $OAuth_Token->to_array();
Код OAuth_Token::to_array() OAuth Token::to array Yoast 28.4
public function to_array() {
return [
'access_token' => $this->access_token,
'refresh_token' => $this->refresh_token,
'expires' => $this->expires,
'has_expired' => $this->has_expired(),
'created_at' => $this->created_at,
'error_count' => $this->error_count,
];
}