plugin->client_id != 'PATCHSTACK_CLIENT_ID' || get_option( 'patchstack_clientid', false ) != false); $free = get_option( 'patchstack_license_free', 0 ) == 1; $planClass = get_option( 'patchstack_subscription_class', ''); $site_id = (int) get_option( 'patchstack_site_id', 0 ); $app_url = $site_id != 0 ? 'https://app.patchstack.com/site/' . $site_id . '/' : 'https://app.patchstack.com/sites/overview'; // Generate the link to turn on settings management. $secretToken = get_option( 'patchstack_activation_secret', '' ); $secretTime = get_option( 'patchstack_activation_time', '' ); if (!empty($secretToken) && !$this->is_connected() ){ echo ''; } ?>

= 1 ) { echo '

' . sprintf('%s %d %s', esc_html__('This plugin is only a connector. Add this website to the Patchstack dashboard within '), $mins, esc_html__(' minutes to initiate automatic sync.')) . '

'; } else { echo '

' . esc_html_e('This plugin is only a connector. Add this website to the Patchstack dashboard to sync your unique API key.', 'patchstack') . '

'; } ?>

hardening', esc_attr('settings for this website.', 'patchstack' )); ?>

is_connected() ? esc_html_e( 'Disconnected', 'patchstack' ) : esc_html_e( 'Synced', 'patchstack' ); ?>
is_protected() && empty($planClass) ? esc_html_e( 'Disabled', 'patchstack' ) : esc_html_e( 'Enabled', 'patchstack' ); ?>
is_protected() || !empty($planClass)) { ?>
plugin->firewall_base->get_hits_counter(); ?>
>
' . esc_html__('To use this plugin, login and add it to the App dashboard and sync using the API key provided there.', 'patchstack') . '

'; } ?>
' . esc_html__('The plugin is connected and synchronized.', 'patchstack') . '

'; } ?>
' . esc_html__('Attempting to auto-activate the plugin, this will take a moment...', 'patchstack') . '

'; } ?>