HEX
Server: LiteSpeed
System: Linux server318.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: sahadove (2893)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /home/sahadove/wp-content/plugins/jetpack/extensions/plugins/payments/payments.php
<?php
/**
 * Payments plugin.
 *
 * @since 10.8
 *
 * @package automattic/jetpack
 */

namespace Automattic\Jetpack\Extensions\Payments;

use Jetpack_Gutenberg;

if ( ! defined( 'ABSPATH' ) ) {
	exit( 0 );
}

const FEATURE_NAME = 'payments';

// Populate the available extensions with our feature.
add_filter(
	'jetpack_set_available_extensions',
	function ( $extensions ) {
		return array_merge(
			(array) $extensions,
			array(
				FEATURE_NAME,
			)
		);
	}
);

// Set the feature availability, depending on the site plan.
add_action(
	'jetpack_register_gutenberg_extensions',
	function () {
		Jetpack_Gutenberg::set_availability_for_plan( FEATURE_NAME );
	}
);