Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/worker/src/MWP/Event
File: Events.php
<?php
[0] Fix | Delete
/*
[1] Fix | Delete
* This file is part of the ManageWP Worker plugin.
[2] Fix | Delete
*
[3] Fix | Delete
* (c) ManageWP LLC <contact@managewp.com>
[4] Fix | Delete
*
[5] Fix | Delete
* For the full copyright and license information, please view the LICENSE
[6] Fix | Delete
* file that was distributed with this source code.
[7] Fix | Delete
*/
[8] Fix | Delete
[9] Fix | Delete
class MWP_Event_Events
[10] Fix | Delete
{
[11] Fix | Delete
/**
[12] Fix | Delete
* Fired if a master request is detected.
[13] Fix | Delete
*
[14] Fix | Delete
* @see MWP_Event_MasterRequest
[15] Fix | Delete
*/
[16] Fix | Delete
const MASTER_REQUEST = 'kernel.master_request';
[17] Fix | Delete
[18] Fix | Delete
/**
[19] Fix | Delete
* Fired if a non-master request is detected.
[20] Fix | Delete
*
[21] Fix | Delete
* @see MWP_Event_PublicRequest
[22] Fix | Delete
*/
[23] Fix | Delete
const PUBLIC_REQUEST = 'kernel.public_request';
[24] Fix | Delete
[25] Fix | Delete
/**
[26] Fix | Delete
* Fired when the HTTP response is ready to be sent.
[27] Fix | Delete
*
[28] Fix | Delete
* @see MWP_Event_MasterResponse
[29] Fix | Delete
*/
[30] Fix | Delete
const MASTER_RESPONSE = 'kernel.master_response';
[31] Fix | Delete
[32] Fix | Delete
/**
[33] Fix | Delete
* Fired just before the action and arguments are passed to it.
[34] Fix | Delete
*
[35] Fix | Delete
* @see MWP_Event_ActionRequest
[36] Fix | Delete
*/
[37] Fix | Delete
const ACTION_REQUEST = 'action.request';
[38] Fix | Delete
[39] Fix | Delete
/**
[40] Fix | Delete
* Fired right after the action sends a response.
[41] Fix | Delete
*
[42] Fix | Delete
* @see MWP_Event_ActionResponse
[43] Fix | Delete
*/
[44] Fix | Delete
const ACTION_RESPONSE = 'action.response';
[45] Fix | Delete
[46] Fix | Delete
/**
[47] Fix | Delete
* Fired after an exception is thrown.
[48] Fix | Delete
*
[49] Fix | Delete
* @see MWP_Event_ActionException
[50] Fix | Delete
*/
[51] Fix | Delete
const ACTION_EXCEPTION = 'action.exception';
[52] Fix | Delete
[53] Fix | Delete
private function __construct()
[54] Fix | Delete
{
[55] Fix | Delete
}
[56] Fix | Delete
}
[57] Fix | Delete
[58] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function