Hide mails sent to WP admin from all expect WP admin?
-
Hey,
Feature Request:
Could you add a feature to restrict access to email logs based on the recipient? Specifically, I’d like the ability to hide emails sent to the WordPress admin email (
admin_email
) from all users except those with an Administrator role.This would ensure that sensitive emails sent to site admins are not visible to other users who may have access to the email logs, such as editors or support staff.Proposed Implementation:
- Filter Option: Introduce a filter to exclude specific logs based on the recipient (e.g., using the
admin_email
). - Permission Check: Ensure only administrators can view logs involving sensitive addresses.
- UI Enhancement: Add a toggle in the plugin settings to enable or disable this feature.
Use Case:
This would be particularly beneficial for multisite networks or collaborative environments where multiple users access email logs, but certain communications are meant only for site administrators.
- Filter Option: Introduce a filter to exclude specific logs based on the recipient (e.g., using the
- You must be logged in to reply to this topic.