MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.118.149.55
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home2/ppcad7no/abslmnewsnetwork.com/wp-content/plugins/jetpack/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/abslmnewsnetwork.com/wp-content/plugins/jetpack/class-jetpack-connection-status.php
<?php
/**
 * Jetpack Connection Status.
 *
 * Filters the Connection Status API response
 *
 * @package jetpack
 */

/**
 * Filters the Connection Status API response
 */
class Jetpack_Connection_Status {

	/**
	 * Initialize the main hooks.
	 */
	public static function init() {
		add_filter( 'jetpack_connection_status', array( __CLASS__, 'filter_connection_status' ) );
	}

	/**
	 * Filters the connection status API response of the Connection package and modifies isActive value expected by the UI.
	 *
	 * @param array $status An array containing the connection status data.
	 */
	public static function filter_connection_status( $status ) {

		$status['isActive'] = Jetpack::is_connection_ready();

		return $status;
	}
}

MMCT - 2023