summaryrefslogtreecommitdiff
blob: 6dbb8de25f5a5512fa852fc7ed59819c462eef57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?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 );
	}
}