=== ShadowKrypt ===
Contributors: devotafsin
Tags: hide plugins, hide themes, security, performance, speed
Requires at least: 5.6
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Hide plugins and themes from the dashboard while keeping them active, plus security, SMTP, performance, update control, and speed tools.

== Description ==

ShadowKrypt is an all-in-one WordPress admin toolkit. Hide selected plugins and themes from dashboard lists while they keep running, monitor security, test SMTP, scan performance, block updates, and optimise frontend speed — from one modern admin interface.

= Dashboard =
* Welcome dashboard with site snapshot, security/performance/speed stats, and quick actions.
* Intro card with greeting, site meta chips, and ShadowKrypt branding.
* Recent activity from security events, scans, and SMTP tests.

= Hide Manager =
* Hide selected plugins from the Plugins screen.
* Hide selected themes from theme listings.
* Hide ShadowKrypt itself from the Plugins screen.
* Optional cleanup of hide rules on plugin deactivation.
* Search plugins and themes quickly.
* Settings auto-save when toggles change.

= Downloads =
* Download installed plugins and themes as ZIP files from native WordPress Plugins and Themes screens.

= Security =
* File change monitor with scan and baseline reset.
* Suspicious administrator account review.
* Failed login attempt limiter with lockout settings.
* Optional custom admin access path.
* Security settings auto-save.

= SMTP Setup Checker =
* Review SMTP/mail configuration signals.
* Send a WordPress test email.
* Failed email log with clear option.

= Performance =
* Scan installed plugins for size, callbacks, and performance signals.
* Run WordPress Site Health checks inside ShadowKrypt.
* Performance Score and Health Score summary cards.

= Update Manager =
* Block all plugin updates or block individual plugins.
* Block all theme updates or block individual themes.
* Blocked updates are hidden on Plugins/Themes screens and upgrades are prevented.
* Turning on Block All activates every item toggle in that tab.
* Update settings auto-save.

= Speed Optimisation =
* Dedicated speed dashboard with rocket preloader (shown once after activation).
* Real Google PageSpeed Insights scores for mobile and desktop.
* Ultra Fast and Recommended optimisation presets.
* Caching, assets, images, and system optimisation toggles.
* Live speed audit and page cache controls.
* All speed settings auto-save.

= Admin Experience =
* Dark mode on ShadowKrypt screens (except Speed Optimisation).
* Rounded admin top bar with current page title and dark mode toggle.
* Smooth tab transitions on multi-tab screens.
* Sticky in-panel scrolling with a scrollable WordPress sidebar.
* Other plugin admin notices hidden on ShadowKrypt pages for a cleaner UI.

== Installation ==

1. Upload the `shadowkrypt` folder to `wp-content/plugins/`.
2. Activate **ShadowKrypt** from the WordPress Plugins screen.
3. Open **ShadowKrypt** from the admin menu.

== Frequently Asked Questions ==

= Will hidden plugins and themes keep working? =
Yes. ShadowKrypt only changes dashboard visibility. Hidden plugins and themes remain installed, active, and fully functional.

= Can I hide ShadowKrypt itself? =
Yes. Enable self-hiding in Hide Manager > Settings. You can still open ShadowKrypt from its direct admin menu URL.

= Do I need to click Save after changing settings? =
No on most screens. Hide Manager, Security, Update Manager, and Speed Optimisation use auto-save when you change a toggle or relevant input.

= Does Update Manager use a custom updater for ShadowKrypt? =
No. ShadowKrypt does not add its own plugin update server. Update Manager only controls update notices and upgrades for other installed plugins and themes.

= Will blocked plugins still show update notices? =
No. When a plugin or theme is blocked (or Block All is enabled), its update notice is removed from the Plugins/Themes screens and manual upgrades are blocked.

= What happens when I turn on Block All? =
All plugin or theme toggles in that tab switch to blocked, and every matching update is hidden and prevented until you change the setting.

= Does Speed Optimisation replace a caching plugin? =
It includes page cache, minification, and many frontend tweaks, but results depend on your host, theme, and plugins. Use it as a built-in optimisation layer and test on staging first.

= Why do PageSpeed scores show a dash on localhost? =
Google PageSpeed Insights needs a publicly reachable site URL. Localhost and private URLs cannot return live PSI scores.

= Why is dark mode not on the Speed Optimisation page? =
Speed Optimisation uses its own fixed dark futuristic UI. Dark mode toggle applies to other ShadowKrypt admin screens.

= Does ShadowKrypt slow down the frontend? =
Speed Optimisation only applies enabled tweaks on the frontend. Disabled options do not run. Hide Manager, Security, SMTP, Performance, and Update Manager are admin-only.

= Is ShadowKrypt compatible with multisite? =
Core features are designed for standard single-site admin use. Test on your network before relying on it in multisite production.

= What PHP version is required? =
PHP 7.4 or newer. The Zip extension is required for plugin and theme download buttons.

== Screenshots ==

1. ShadowKrypt dashboard with stats and quick actions.
2. Hide Manager with plugin and theme visibility toggles.
3. Speed Optimisation dashboard with PageSpeed scores.
4. Update Manager with global and per-item update blocking.

== Changelog ==

= 1.2.0 =
* Redesigned Dashboard with intro card, logo, meta chips, expanded stats, activity feed, and quick actions layout.
* Added admin top bar with highlighted page title and dark mode toggle on ShadowKrypt screens.
* Added dark mode support across ShadowKrypt admin (except Speed Optimisation).
* Improved admin layout: full-width content, compact gutters, sticky scroll, and sidebar scroll fixes.
* Removed manual save buttons; added auto-save for Hide Manager, Security, and Update Manager.
* Rebuilt Update Manager UI with master cards, individual sections, and dark-mode readable text.
* Fixed Update Manager so blocked updates no longer appear on Plugins/Themes screens.
* Block All now activates all plugin/theme toggles in that tab and saves blocked state correctly.
* Added smooth crossfade tab switching on Hide Manager and Update Manager.
* Removed sticky behaviour from tab bars for cleaner scrolling.
* Fixed dashboard logo display using optimised ShadowKrypt branding asset.
* Added update-blocking hook loader compatible with WordPress.org Plugin Check.
* Added WordPress.org `readme.txt`, expanded FAQ, and repository hygiene fixes.
* Bumped version to 1.2.0.

= 1.1.0 =
* Added Speed Optimisation module with page cache, asset/image tweaks, PSI scores, presets, and auto-save.
* Added Performance scanning, Security monitoring, SMTP checker, and Update Manager.
* Added modern admin UI, dashboard refresh, and native plugin/theme download buttons.

= 1.0.0 =
* Initial ShadowKrypt release with Hide Manager and core admin utilities.

== Upgrade Notice ==

= 1.2.0 =
Major admin UX update: redesigned dashboard, dark mode, auto-save on key screens, working update blocking, and WordPress.org readme improvements.
