=== Admin Shortcuts ===
Contributors: anilsuwal16
Donate link: https://anilsuwal.com.np/
Tags: dashboard, admin, comments, site-health, quick-links
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Your WordPress dashboard, supercharged. Quick links, comment moderation, site health, and updates — all one click away.

== Description ==

Admin Shortcuts adds a set of powerful dashboard widgets that put the most common admin tasks within reach. Stop digging through menus — manage your site faster from the WordPress dashboard.

**Features:**

* **Quick Links** — One-click buttons for New Post, New Page, and Upload Media, plus up to five custom links you configure yourself.
* **View All Users** — Shortcut to the users list with a live badge showing total registered users.
* **Pending Comments** — Review pending comments with inline Accept and Reject buttons (no page reload, powered by the REST API).
* **Site Health Status** — Green, yellow, or red indicator pulled from WordPress Site Health data.
* **Core Update Notice** — Warning badge and quick link when a WordPress core update is available.
* **Plugin Update Counter** — Shows how many plugins need updates with a shortcut to the updates screen.
* **Drag-to-Reorder** — Rearrange quick-link buttons via drag and drop; order is saved per user.
* **Dark / Light Mode** — Toggle dashboard widget appearance; preference saved to user meta.
* **Recent Posts** — Last five published posts with title and edit link.
* **Custom Quick Links** — Configure five quick link slots (label, URL, enabled) from Settings > Admin Shortcuts.
* **Clean Dashboard** — Hides core WordPress dashboard widgets when Admin Shortcuts is enabled; third-party widgets remain visible.

== Installation ==

1. Upload the `anilsuwal-admin-shortcuts` folder to the `/wp-content/plugins/` directory, or install through the WordPress Plugins screen.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Visit the **Dashboard** to see Admin Shortcuts widgets.
4. Configure quick links and plugin options under **Settings > Admin Shortcuts**.

== Frequently Asked Questions ==

= Does Admin Shortcuts work with multisite? =

Yes. Dashboard widgets respect WordPress capabilities on each site.

= Can I hide individual widgets? =

Yes. Use **Screen Options** at the top of the Dashboard to show or hide any Admin Shortcuts widget.

= How are comment actions secured? =

Comment moderation uses the WordPress REST API with nonce verification and requires the `moderate_comments` capability.

== Screenshots ==

1. Admin Shortcuts Quick Links widget with drag-to-reorder buttons.
2. Pending comments panel with Accept and Reject actions.
3. Admin Shortcuts settings page for custom quick links.

== Changelog ==

= 1.0.0 =
* Initial release with quick links, users shortcut, comment moderation, site health, update notices, theme toggle, recent posts, and custom link settings.

== Upgrade Notice ==

= 1.0.0 =
Initial release of Admin Shortcuts.
