2023-04-13 15:44:10 +00:00
|
|
|
/**
|
|
|
|
* Trigger an event
|
|
|
|
*
|
|
|
|
* @param string $event The event to trigger
|
|
|
|
* @param mixed $data The values to pass to the event/plugin
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
* @since 3.2.0
|
|
|
|
*/
|
2024-01-27 07:09:33 +00:00
|
|
|
public function trigger(string $event, $data = null);
|