10 lines
255 B
Plaintext
10 lines
255 B
Plaintext
/**
|
|
* 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
|
|
*/
|
|
public function trigger(string $event, $data = null); |