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/16.0/jetpack_vendor/automattic/jetpack-explat/src/class-explat.php
<?php
/**
 * Package description here
 *
 * @package automattic/jetpack-explat
 */

namespace Automattic\Jetpack;

use Automattic\Jetpack\Connection\Rest_Authentication;
use Automattic\Jetpack\ExPlat\REST_Controller;

/**
 * Class description.
 */
class ExPlat {

	/**
	 * ExPlat package version
	 *
	 * @var string
	 */
	const PACKAGE_VERSION = '0.4.34';

	/**
	 * Initializer.
	 * Used to configure the ExPlat package
	 *
	 * @return void
	 */
	public static function init() {
		if ( did_action( 'jetpack_explat_initialized' ) ) {
			return;
		}

		// Set up the REST authentication hooks.
		Rest_Authentication::init();

		add_action( 'rest_api_init', array( REST_Controller::class, 'register' ) );

		// Runs right after the Jetpack ExPlat package is initialized.
		do_action( 'jetpack_explat_initialized' );
	}
}