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

12 lines
278 B
PHP

<?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 );
}