@@ -132,6 +132,9 @@ |
||
| 132 | 132 | return self::json_api( self::get_post_api_url( $post_id) ); |
| 133 | 133 | } |
| 134 | 134 | |
| 135 | + /** |
|
| 136 | + * @param string $url |
|
| 137 | + */ |
|
| 135 | 138 | static function json_api( $url, $method = 'GET' ) { |
| 136 | 139 | |
| 137 | 140 | require_once JETPACK__PLUGIN_DIR . 'class.json-api.php'; |