8 lines
211 B
PHP
8 lines
211 B
PHP
|
<?php
|
||
|
|
||
|
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
|
||
|
require_once dirname( __FILE__ ) . '/class.json-api-platform-wpcom.php';
|
||
|
} else {
|
||
|
require_once dirname( __FILE__ ) . '/class.json-api-platform-jetpack.php';
|
||
|
}
|