Automattic / Automattic/jetpack

Email Notifications: Add global settings to disable/enable admin emails

Open
#13,949 3 comments 1 reaction 0 assignees View on GitHub
[Feature] Likes [Feature] Sharing [Feature] Subscriptions [Pri] Low Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

On WordPress.com, there are these two settings which allow you to disable the site-owner email notifications for new subscriptions:

ss

These are not present on a JP-connected site though, so it's not possible to disable these emails at the site level. You can only disable the emails from the calypso side while logged into the main JP user's account.

At the moment, you can manually run `update_option('social_notifications_subscribe', 'off');` on your self-hosted site and it'll sync over and prevent the emails from being sent. But as far as I can tell this isn't made possible anywhere by default for self-hosted sites.

Contributor guide

Open the contributing guide

Research direction

Start by locating the handling of the `social_notifications_subscribe` option and the existing site-level notification settings. The change is complete when self-hosted, JP-connected sites can enable or disable the site-owner subscription emails through global settings and the selected setting prevents or permits those emails.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.