$a2token,
'secret' => $a2secret,
'redirect' => site_url() . '?allow2_callback=oauth',
'webHook' => plugin_dir_url(__FILE__) . 'allow2_webhook.php'
];
$url = $host . '/serviceapi/confirmSettings';
$postargs = array(
'body' => $params,
'timeout' => 10
);
$response = wp_remote_post($url, $postargs);
$response_body = wp_remote_retrieve_body($response);
$httpCode = wp_remote_retrieve_response_code($response);
if (is_wp_error($response_body)) {
?>
 . 'assets/icon-30x30.png)
' . __('Allow2', 'allow2_trdom') . "";
if (!class_exists('UseClientsTimezone')) {
?>
WARNING: The Allow2 WP plugin requires
">Use Client's Time Zone, but it seems to either be missing or not activated.
Allow2 will be disabled until it has been correctly installed.
 . 'assets/icon-30x30.png)
' . __('Allow2', 'allow2_trdom') . '';
if (!class_exists('UseClientsTimezone')) {
?>
WARNING: The Allow2 WP plugin requires
">Use Client's Time Zone, but it seems to either be missing or not activated.
Allow2 will be disabled until it has been correctly installed.