HEX
Server: nginx
System: Linux pool195-106-36.bur.atomicsites.net 6.12.57+deb12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1~bpo12+1 (2025-11-17) x86_64
User: (0)
PHP: 8.3.32
Disabled: pcntl_fork
Upload Files
File: /wordpress/plugins/jetpack/latest/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 );
	}
);