/** * 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);