I would rely on `save_post` to generate numerical slugs—obfuscated IDs, really—for newly published notes on my blog, as I feel “traditional” slugs don’t make much sense in this particular context, but the `wp_unique_post_slug` hook’s so much better. Like, it does not trigger a second save.

(Why better, you ask? Well, because webmentions get sent only once. Ha!)

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!