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

13 lines
278 B
PHP
Raw Permalink Normal View History

2018-03-21 18:19:20 +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 );
}