PATH:
home
/
letacommog
/
pymreception1
/
wp-content
/
plugins
/
wp-all-import-pro
/
src
/
Scheduling
<?php namespace Wpai\Scheduling; /** * Class Connection * @package Wpai\Scheduling */ class Connection { /** * @return bool */ public function checkConnection() { $response = wp_remote_request( $this->getApiUrl('connection'), array( 'method' => 'GET', 'body' => \json_encode(array(get_site_url())) ) ); if($response instanceof \WP_Error) { return false; } if ($response['response']['code'] == 200) { return true; } else { return false; } } }
[+]
..
[-] Import.php
[edit]
[-] Scheduling.php
[edit]
[-] Config.php
[edit]
[-] SchedulingApi.php
[edit]
[-] LicensingManager.php
[edit]
[-] Connection.php
[edit]
[+]
Interval
[+]
Exception
[+]
Timezone