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', ''); $managed = get_option( 'patchstack_managed', false ); $site_id = get_option( 'patchstack_site_id', 0 ); $app_url = $site_id != 0 ? 'https://app.patchstack.com/app/' . $site_id . '/"' : 'https://app.patchstack.com/apps/overview'; if ( isset( $_GET['ps_activated'] ) && $status ) { echo ""; } // Generate the link to turn on settings management. $url = '?page=' . esc_attr( $page ) . '&tab=license&action=enable_settings&patchstack_settings_nonce=' . wp_create_nonce( 'patchstack_settings_nonce' ); $url_enabled = '?page=patchstack' . (!$free ? '&tab=firewall' : ''); if (!$show_settings) { ?>
Sync status is_connected()) { echo 'Connected'; } else { echo 'Disconnected'; } ?>
is_protected() && empty($planClass) ? 'style="display: none;"' : ''; ?>> Protection enabled
is_protected() || $planClass > 0 || $managed ? 'style="display: none;"' : ''; ?>> Protection disabled Activate for $9 / mo
>
To use this plugin, login and add it to the App dashboard and sync using the API key provided there.

'; } ?>
The plugin is connected and synchronized.

'; } ?>

= 1 ) { ?> Manage the Patchstack plugin settings through WordPress.