mirror of
https://git.sindominio.net/estibadores/wordpress.git
synced 2024-11-14 23:21:07 +01:00
14 lines
393 B
PHP
14 lines
393 B
PHP
|
<?php
|
||
|
|
||
|
use Automattic\Jetpack\Connection\Manager as Connection_Manager;
|
||
|
|
||
|
class Jetpack_Data {
|
||
|
/**
|
||
|
* @deprecated 7.5 Use Connection_Manager instead.
|
||
|
*/
|
||
|
public static function get_access_token( $user_id = false, $token_key = false, $suppress_errors = true ) {
|
||
|
$connection = new Connection_Manager();
|
||
|
return $connection->get_access_token( $user_id, $token_key, $suppress_errors );
|
||
|
}
|
||
|
}
|