wordpress/php-fpm/wordpress_files/plugins/jetpack/class.jetpack-data.php

14 lines
393 B
PHP
Raw Normal View History

2020-05-22 03:40:23 +02:00
<?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 );
}
}