=== Buro Castra - Utilities / Disable Notifications ===
Contributors: burocastra
Tags: notifications, email, security, admin, woocommerce
Requires at least: 6.0
Tested up to: 7.0
Stable tag: 1.2.0
Requires PHP: 8.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds utilities to your WordPress, such as selectively disabling notifications per category.

== Description ==

This plugin has multiple utilities to enhance your WordPress experience.

**Disable Notifications:**

The plugin lets you turn off specific WordPress email notifications without touching code Notifications are grouped by platform in tabs, making it easy to find and disable exactly what you don't need.

= WordPress =
* Password reset - disables the admin notification when a user resets their password
* Plugin auto updated - disables the email sent after automatic plugin updates

= WooCommerce =
* Password reset - disables the admin notification when a user resets their password

**General**

Under the **General** tab you can activate the following utilities:

* Set a fixed sender/bounce e-mail address (envelope-from) for all outgoing transactional e-mail. This overrides the server's default fallback address, which is useful when sending mail from a domain that differs from the server's own domain. This could be needed for dedicated hosting services from companies such as Rootnet and Hostnet.

**Security**

Under the **Security** tab you can activate the following utilities:

* Disable WordPress XMLRPC. This disables the XMLRPC endpoint, which is often used for brute-force attacks and is not needed for most WordPress sites.
* Hide public available WordPress usernames. This prevents the author archive pages from being publicly accessible, which can help reduce spam and brute-force attacks.

**Missing a notification?**

Can't find the notification you want to disable? [Request it via our website](https://burocastra.nl) and we'll look into adding it.

**Extensible by design**

Developers can add their own domains (tabs) and notifications via filters:

* `bc_disable_notifications_domains` - register additional domain tabs
* `bc_disable_notifications_wordpress_notifications` - add notifications to the WordPress tab
* `bc_disable_notifications_woocommerce_notifications` - add notifications to the WooCommerce tab
* `bc_disable_notifications_security_notifications` - add utilities to the Security tab

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`
2. Activate the plugin through the **Plugins** screen in WordPress
3. Go to **Settings > Buro Castra – Utilities / Disable Notifications** and configure which utilities you want to use

== Frequently Asked Questions ==

= Does this affect emails sent to users? =

No. The included notifications target admin emails only (e.g. the password reset notification sent to the site administrator).

= The notification I want to disable is not listed. What can I do? =

You can [request it via our website](https://burocastra.nl). If you're a developer, you can also add it yourself using the `bc_disable_notifications_domains` filter.

== Changelog ==

= 1.2.0 =
* Rename to "Buro Castra - Utilities / Disable Notifications" to reflect the plugin's broader utility scope
* Added utility to hide public available WordPress usernames
* Added utility to disable WordPress XMLRPC

= 1.1.1 =
* Fixed: sender e-mail address (envelope-from) now only sets the PHPMailer `Sender` (bounce) address instead of overwriting the visible `From` header, so emails sent by form plugins keep using their own sender/reply-to address

= 1.1.0 =
* Added "Algemeen" tab to set a fixed sender/bounce e-mail address (envelope-from) for outgoing mail via `phpmailer_init`

= 1.0.0 =
* Initial release
* WordPress tab with password reset and plugin auto-update notifications
* Filter-based extension points for domains and notifications
