$data Body, in contract shape. * @param int|null $occurredAt Unix time it happened; now when null. */ public static function emit( string $type, array $data, ?int $occurredAt = null ): void { if ( self::listening() ) { // Spelled out rather than self::ACTION, so the plugin prefix is visible to // Plugin Check; the constant stays for the listeners. do_action( 'rahkar_wp_event', $type, $data, $occurredAt ); } } }