Passing a typed event object to do_action() instead of loose arguments gives you...

@WordPress@mastodon.world

Passing a typed event object to do_action() instead of loose arguments gives you named payloads, collision-free hook names via fully-qualified class names, and filter-like mutation without a return value to forget. developer.wordpress.org/news/?

#WordPressDevelopment