PHPackages                             automattic/jetpack-newsletter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. automattic/jetpack-newsletter

ActiveJetpack-library[Utility &amp; Helpers](/categories/utility)

automattic/jetpack-newsletter
=============================

Jetpack Newsletter functionality

v0.11.1(5d ago)02.9k↓47.3%2GPL-2.0-or-laterPHPPHP &gt;=7.2CI passing

Since Dec 1Pushed 3d agoCompare

[ Source](https://github.com/Automattic/jetpack-newsletter)[ Packagist](https://packagist.org/packages/automattic/jetpack-newsletter)[ RSS](/packages/automattic-jetpack-newsletter/feed)WikiDiscussions trunk Synced 2d ago

READMEChangelog (10)Dependencies (49)Versions (35)Used By (2)

Jetpack Newsletter
==================

[](#jetpack-newsletter)

This package provides some of the newsletter functionality for Jetpack, including:

- **Settings page** — A wp-admin settings screen for newsletter configuration (`Jetpack > Newsletter`).
- **URL helper** — Centralized logic for generating the correct newsletter settings URL based on site type and configuration.
- **Reader link** — An admin bar link to the WordPress.com Reader.
- **Daily Writing Prompt widget** — A wp-admin dashboard widget that surfaces blogging prompts.

Other functionality remains in the subscriptions module of Jetpack itself.

Initialization
--------------

[](#initialization)

`Settings`, `Reader_Link`, and `Writing_Prompt_Widget` use singleton-style initialization. Call their `init()` methods early (e.g., on `plugins_loaded`):

```
use Automattic\Jetpack\Newsletter\Settings;
use Automattic\Jetpack\Newsletter\Reader_Link;
use Automattic\Jetpack\Newsletter\Writing_Prompt_Widget;

Settings::init();
Reader_Link::init();
Writing_Prompt_Widget::init();
```

Settings page
-------------

[](#settings-page)

Registers a `Jetpack > Newsletter` submenu page in wp-admin with a React-based settings UI.

### Filters

[](#filters)

#### `jetpack_show_newsletter_menu_item`

[](#jetpack_show_newsletter_menu_item)

Controls visibility of the `Jetpack > Newsletter` menu item. Defaults to `true`. Set to `false` to hide the menu item while keeping the page accessible via direct URL.

```
add_filter( 'jetpack_show_newsletter_menu_item', '__return_false' );
```

### Reading page notice

[](#reading-page-notice)

When the subscriptions module is active, a notice is added to the wp-admin **Settings → Reading** page next to the "For each post in a feed" option. It clarifies that the RSS excerpt setting does not control newsletter emails and links to the Newsletter settings page.

URL helper
----------

[](#url-helper)

`Urls::get_newsletter_settings_url()` returns the wp-admin newsletter settings URL.

Reader link
-----------

[](#reader-link)

### `activate_on_connection()`

[](#activate_on_connection)

`Reader_Link::activate_on_connection()` auto-activates the `wpcom-reader` module when a site is first connected to WordPress.com. It skips activation if modules were previously initialized (e.g., the user disconnected and reconnected), respecting prior module choices.

Daily Writing Prompt widget
---------------------------

[](#daily-writing-prompt-widget)

`Writing_Prompt_Widget::init()` registers a `Daily Writing Prompt` dashboard widget for users who can `manage_options`. The widget renders a hydration container and enqueues the `writing-prompt` build assets, which mount a React app that fetches the latest blogging prompts from `/wpcom/v3/blogging-prompts` and lets the user jump into answering one.

Using this package in your WordPress plugin
-------------------------------------------

[](#using-this-package-in-your-wordpress-plugin)

If you plan on using this package in your WordPress plugin, we would recommend that you use [Jetpack Autoloader](https://packagist.org/packages/automattic/jetpack-autoloader) as your autoloader. This will allow for maximum interoperability with other plugins that use this package as well.

Security
--------

[](#security)

Need to report a security vulnerability? Go to  or directly to our security bug bounty site .

License
-------

[](#license)

Jetpack Newsletter is licensed under [GNU General Public License v2 (or later)](./LICENSE.txt)

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance99

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community27

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor5

5 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~6 days

Total

33

Last Release

5d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c5869ecbb8e0eac7e8b8e0f3cf7bdd8d5fcdc4abc10a72281872c53f8639d44?d=identicon)[automattic](/maintainers/automattic)

![](https://www.gravatar.com/avatar/5326730499ec14e274f51b9bcc39db6aac0fb38b33849715aae0e2587a2b93df?d=identicon)[jeherve](/maintainers/jeherve)

---

Top Contributors

[![anomiex](https://avatars.githubusercontent.com/u/1030580?v=4)](https://github.com/anomiex "anomiex (61 commits)")[![dhasilva](https://avatars.githubusercontent.com/u/8486249?v=4)](https://github.com/dhasilva "dhasilva (39 commits)")[![CGastrell](https://avatars.githubusercontent.com/u/157240?v=4)](https://github.com/CGastrell "CGastrell (27 commits)")[![tbradsha](https://avatars.githubusercontent.com/u/32492176?v=4)](https://github.com/tbradsha "tbradsha (24 commits)")[![dsas](https://avatars.githubusercontent.com/u/93301?v=4)](https://github.com/dsas "dsas (23 commits)")[![jeherve](https://avatars.githubusercontent.com/u/426388?v=4)](https://github.com/jeherve "jeherve (19 commits)")[![manzoorwanijk](https://avatars.githubusercontent.com/u/18226415?v=4)](https://github.com/manzoorwanijk "manzoorwanijk (16 commits)")[![bindlegirl](https://avatars.githubusercontent.com/u/1242807?v=4)](https://github.com/bindlegirl "bindlegirl (14 commits)")[![simison](https://avatars.githubusercontent.com/u/87168?v=4)](https://github.com/simison "simison (11 commits)")[![gmjuhasz](https://avatars.githubusercontent.com/u/36671565?v=4)](https://github.com/gmjuhasz "gmjuhasz (10 commits)")[![robertsreberski](https://avatars.githubusercontent.com/u/8419292?v=4)](https://github.com/robertsreberski "robertsreberski (8 commits)")[![vianasw](https://avatars.githubusercontent.com/u/298685?v=4)](https://github.com/vianasw "vianasw (6 commits)")[![zaguiini](https://avatars.githubusercontent.com/u/26530524?v=4)](https://github.com/zaguiini "zaguiini (5 commits)")[![kraftbj](https://avatars.githubusercontent.com/u/88897?v=4)](https://github.com/kraftbj "kraftbj (5 commits)")[![arcangelini](https://avatars.githubusercontent.com/u/33258733?v=4)](https://github.com/arcangelini "arcangelini (4 commits)")[![haqadn](https://avatars.githubusercontent.com/u/3737780?v=4)](https://github.com/haqadn "haqadn (4 commits)")[![kangzj](https://avatars.githubusercontent.com/u/1425433?v=4)](https://github.com/kangzj "kangzj (3 commits)")[![LiamSarsfield](https://avatars.githubusercontent.com/u/43409125?v=4)](https://github.com/LiamSarsfield "LiamSarsfield (3 commits)")[![enejb](https://avatars.githubusercontent.com/u/115071?v=4)](https://github.com/enejb "enejb (3 commits)")[![Addison-Stavlo](https://avatars.githubusercontent.com/u/28742426?v=4)](https://github.com/Addison-Stavlo "Addison-Stavlo (3 commits)")

### Embed Badge

![Health badge](/badges/automattic-jetpack-newsletter/health.svg)

```
[![Health](https://phpackages.com/badges/automattic-jetpack-newsletter/health.svg)](https://phpackages.com/packages/automattic-jetpack-newsletter)
```

###  Alternatives

[automattic/jetpack

Jetpack supercharges your self‑hosted WordPress site with the awesome cloud power of WordPress.com

3622.8k](/packages/automattic-jetpack)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
