| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/WPCAFE/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 );
}
);