-
Implementing `is_gutenberg()`
Share on Mastodon used to rely on (only) the transition_post_status hook to kick off a request to Mastodon’s API. Then Gutenberg came.
-
Webmention Spam
I’ve yet to receive any! Or maybe I missed a bunch, because of how I set up Webmention.
-
WordPress’ Block Editor and Custom Post Meta
Quick recap, mostly just for me: In the classic editor, you have a custom meta box. You hit “Save,” “Publish,” “Update,” etc., it will submit the page; on the back end, you now have access to the various $_POST variables and can use them to update, e.g., (custom) post meta (“custom fields”). Easy peasy. With…
-
Modifying Share on Mastodon
Some Background So, this may be a bit of an edge case, but people have run into it: You revisit and old post, change a few things here and there, and hit “Update.” Unexpectedly, your post shows up on your Mastodon account. Turns out the Share on Mastodon checkbox was, in fact, checked. Or, you…