This repository has been archived on 2022-08-01. You can view files and clone it, but cannot push or open issues or pull requests.
Oldphaloskepsis/plugins/jetpack/sal/class.json-api-platform-jetpack.php

13 lines
278 B
PHP
Raw Normal View History

2017-01-12 23:10:07 +00:00
<?php
class WPORG_Platform {
static function get_site( $blog_id ) {
require_once dirname( __FILE__ ) . '/class.json-api-site-jetpack.php';
return new Jetpack_Site( $blog_id );
}
}
function wpcom_get_sal_site( $blog_id ) {
return WPORG_Platform::get_site( $blog_id );
}