diff options
Diffstat (limited to 'plugins/jetpack/extensions/blocks/recurring-payments/recurring-payments.php')
-rw-r--r-- | plugins/jetpack/extensions/blocks/recurring-payments/recurring-payments.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/jetpack/extensions/blocks/recurring-payments/recurring-payments.php b/plugins/jetpack/extensions/blocks/recurring-payments/recurring-payments.php new file mode 100644 index 00000000..d5d461e9 --- /dev/null +++ b/plugins/jetpack/extensions/blocks/recurring-payments/recurring-payments.php @@ -0,0 +1,13 @@ +<?php // phpcs:disable Squiz.Commenting.FileComment.Missing +/** + * Memberships block. + * + * @since 7.3.0 + * + * @package Jetpack + */ + +if ( ( defined( 'IS_WPCOM' ) && IS_WPCOM ) || Jetpack::is_active() ) { + require_once JETPACK__PLUGIN_DIR . '/modules/memberships/class-jetpack-memberships.php'; + Jetpack_Memberships::get_instance()->register_gutenberg_block(); +} |