https://t.me/AnonymousX5
Server : Apache
System : Linux ls31.server.ly 3.10.0-962.3.2.lve1.5.68.el7.x86_64 #1 SMP Wed Apr 6 11:12:23 UTC 2022 x86_64
User : medchoco ( 2906)
PHP Version : 8.3.16
Disable Function : mail
Directory :  /home/medchoco/www/wp-content/plugins/jetpack-boost-git/app/rest-api/contracts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/medchoco/www/wp-content/plugins/jetpack-boost-git/app/rest-api/contracts/Permission.php
<?php

namespace Automattic\Jetpack_Boost\REST_API\Contracts;

/**
 * API Endpoints have permissions that are checked by WordPress on `permission_callback`.
 *
 * These permissions repeat themselves, for example:
 *  * current_user_can
 *  * wp_verify_nonce
 *
 * And in the case of nonces - they also need to interact with the rest of the application.
 * Permission contract helps make the permission callbacks more predictable.
 * This is especially necessary to deal with nonces
 * (or more on that, read `permissions/Nonce.php`
 */
interface Permission {
	/**
	 * A method to verify whether this request
	 * can be run in the current environment.
	 *
	 * @param \WP_REST_Request $request
	 *
	 * @return bool
	 */
	public function verify( $request );
}

https://t.me/AnonymousX5 - 2025