Yoast\WP\SEO\MyYoast_Client\Application\Ports
User_Token_Storage_Interface::get_all
Returns every stored token set across resource buckets for a user.
Метод класса: User_Token_Storage_Interface{}
Хуков нет.
Возвращает
Token_Set[]. The stored token sets.
Использование
$User_Token_Storage_Interface = new User_Token_Storage_Interface(); $User_Token_Storage_Interface->get_all( $user_id ): array;
- $user_id(int) (обязательный)
- The user ID.
Код User_Token_Storage_Interface::get_all() User Token Storage Interface::get all Yoast 28.9
public function get_all( int $user_id ): array;