| @@ -1,0 +1,17 @@ | ||
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Constants for the subscriptions Block. | |
| 4 | + * | |
| 5 | + * @package automattic/jetpack | |
| 6 | + */ | |
| 7 | + | |
| 8 | +namespace Automattic\Jetpack\Extensions\Subscriptions; | |
| 9 | + | |
| 10 | +const FEATURE_NAME = 'subscriptions'; | |
| 11 | +const BLOCK_NAME = 'jetpack/' . FEATURE_NAME; | |
| 12 | +const NEWSLETTER_COLUMN_ID = 'newsletter_access'; | |
| 13 | +const META_NAME_FOR_POST_LEVEL_ACCESS_SETTINGS = '_jetpack_newsletter_access'; | |
| 14 | +const META_NAME_FOR_POST_DONT_EMAIL_TO_SUBS = '_jetpack_dont_email_post_to_subs'; | |
| 15 | +const META_NAME_FOR_POST_TIER_ID_SETTINGS = '_jetpack_newsletter_tier_id'; | |
| 16 | +const META_NAME_CONTAINS_PAYWALLED_CONTENT = '_jetpack_memberships_contains_paywalled_content'; | |
| 17 | +const META_NAME_CONTAINS_PAID_CONTENT = '_jetpack_memberships_contains_paid_content'; | |