apply_filters ( 'jetpack_allow_per_post_subscriptions', bool true )

Filter whether or not to show the per-post subscription option.

Source file: modules/subscriptions.php

View in GitHub



(bool) true = show checkbox option on all new posts | false = hide the option.


Since: Jetpack 3.7.0

How to use this hook

See Using actions and filters to customize Jetpack.


Note: This filter only works with Classic Edtitor.

If that filter is set to true, a checkbox will appear in the post editor, allowing you to choose whether posts should be sent to subscribers or not:

add_filter( 'jetpack_allow_per_post_subscriptions', '__return_true' );

Have a question?

Comments are closed for this article, but we're still here to help! Visit the support forum and we'll be happy to answer any questions.

View support forum