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) { ?>