=== Admin Notes DL ===
Contributors: devlemon
Tags: admin notes, private notes, dashboard notes, internal notes, team notes
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Private notes and reminders where your WordPress team actually works.

== Description ==

**Admin Notes DL** keeps your team's internal notes, reminders, and instructions right inside WordPress — where the work actually happens.

Stop scattering important operational knowledge across WhatsApp threads, emails, spreadsheets, and team members' memories. Admin Notes DL puts it where it belongs: in your WordPress admin.

= Common use cases =

* "Do not change this shortcode."
* "Client requested a review of this page."
* "Verify this content before publishing."
* "This setting was changed because of cache issues."
* "Image needs to be updated."
* "Page awaiting client approval."
* "Do not remove this plugin."
* "Review again after the campaign ends."

= Key features =

* **Dashboard widget** — pinned and recent notes visible right from your WordPress Dashboard.
* **Post and page notes** — attach notes directly to the content they relate to.
* **Global notes** — visible to all authorised users (administrators).
* **Private notes** — visible only to the user who created them.
* **Pin notes** — keep critical reminders at the top.
* **Mark as completed** — track resolved items without deleting them.
* **Archive** — move inactive notes out of the way without losing them.
* **Search and filter** — find any note quickly.
* **Full pagination** — works efficiently at any scale.
* **No bloat** — does one thing and does it well.

= Privacy =

Admin Notes DL does not collect, transmit, or share any data with external services. There is no telemetry, no analytics, no tracking pixels, and no external API calls of any kind. All notes are stored in your own WordPress database.

= Notes are completely private =

Notes never appear on your public website. The internal post type used to store notes is configured with `public => false`, `show_in_rest => false`, and `exclude_from_search => true`. Notes cannot be accessed by visitors, search engines, or through the WordPress REST API.

Private notes created by one user are never visible to other users — this is enforced server-side, not just in the interface.

= No premium version required =

Admin Notes DL 1.0.0 is fully functional at no cost. There is no Pro version, no feature paywall, no trial, and no upsell.

== Installation ==

1. Upload the `admin-notes-dl` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the **Plugins** screen in WordPress.
3. Go to **Tools → Admin Notes DL** to create your first note.
4. The **Admin Notes DL** widget will appear on your WordPress Dashboard automatically.

== Frequently Asked Questions ==

= Are notes visible to website visitors? =

No. Notes are stored using an internal, non-public WordPress post type. They never appear on the front-end of your website, in search results, sitemaps, or feeds.

= Are private notes visible to other users? =

No. Private notes are visible only to the user who created them. This is enforced on the server side — no other user can read, edit, delete, or even discover private notes belonging to another user.

= Does the plugin use an external service? =

No. Admin Notes DL is completely self-contained. It does not make any external HTTP requests, send data to external servers, or use any third-party APIs.

= Are notes exposed through the REST API? =

No. The internal post type used to store notes has `show_in_rest => false`. Notes are not accessible through the WordPress REST API.

= What happens when the plugin is deactivated? =

Nothing. Deactivation does not delete any notes or plugin data. Your notes remain in the database and will be available again when the plugin is reactivated.

= What happens when the plugin is deleted? =

Deleting the plugin through the WordPress admin (Plugins → Delete) will permanently remove all notes and any plugin options from your database. This action cannot be undone.

= Does it work with WooCommerce? =

Admin Notes DL does not depend on WooCommerce and does not add any WooCommerce integration in version 1.0.0. It works alongside WooCommerce without conflict.

= Can I attach notes to posts and pages? =

Yes. When editing any post or page, an **Admin Notes DL** meta box appears in the editor sidebar. You can view notes linked to that content and add new ones with a single click.

= Who can create global notes? =

Only users with the `manage_options` capability (Administrators by default) can create and see global notes.

= Who can create private notes? =

Any user with the `edit_posts` capability can create and manage their own private notes.

= Is there a limit to the number of notes? =

No. There is no artificial limit on the number of notes you can create.

== Screenshots ==

1. Notes overview — list view with filters, search, and quick actions.
2. Create note — form with title, content, visibility, context, and pin options.
3. Dashboard widget — recent active notes at a glance.
4. Notes on the post editor — meta box showing notes linked to the current post or page.
5. Private vs. global note — distinct visual badges make visibility instantly clear.
6. Archived and completed notes — filtered view with restore option.

== Changelog ==

= 1.0.0 =
* Initial release.
* Dashboard widget with active and pinned notes.
* Notes linked to posts and pages via editor meta box.
* Global notes (administrators) and private notes (per-user).
* Full CRUD: create, edit, delete.
* Quick actions: pin/unpin, complete/reopen, archive/restore.
* Search notes by title and content.
* Filter by status: All, Active, Completed, Archived, Pinned, Global, Private.
* Paginated list (20 notes per page).
* No external dependencies or data transmission.
