| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/ravel.network/public/wp-content/plugins/jetpack/extensions/plugins/payments/ |
Upload File : |
<?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 );
}
);