For a custom meta box I needed to execute my code after saving a post in the block editor. This is how I’ve done it:
https://epiph.yt/en/blog/2023/run-code-on-block-editor-save/
Mastodon is the best way to keep up with what's happening.
Follow anyone across the fediverse and see it all in chronological order. No algorithms, ads, or clickbait in sight.