Category Specific Subscriber Notifications (Test 1)

We use Jetpack to manage our subscribers, and since the Gutenberg update we haven’t been able to control which posts are sent to out to our subscriber list.

This is my first trial post to see if my strategy has worked. I added a code snippet:

12345function exclude_these( $categories ) {$categories = array( 'category-slug', 'category-slug-2');return $categories;}add_filter( 'jetpack_subscriptions_exclude_these_categories', 'exclude_these' );

Similar Posts