| 1 |
<?php |
| 2 |
|
| 3 |
use \Automattic\Jetpack\Connection\Manager as Connection_Manager; |
| 4 |
|
| 5 |
class Jetpack_Data { |
| 6 |
/** |
| 7 |
* @deprecated 7.5 Use Connection_Manager instead. |
| 8 |
*/ |
| 9 |
public static function get_access_token( $user_id = false, $token_key = false, $suppress_errors = true ) { |
| 10 |
$connection = new Connection_Manager(); |
| 11 |
return $connection->get_access_token( $user_id, $token_key, $suppress_errors ); |
| 12 |
} |
| 13 |
} |
| 14 |
|