Making fetch calls with Promises vs async/await.
The WordPress block editor (a.k.a. Gutenberg) communicates with the database via the WordPress REST API. We can read and write post meta from within the Gutenberg editor after we enable the specific post meta field in the WordPress REST API.
As a developer, I spend a lot of time going back and forth between the command line and Jira tickets. I realized that since I always include the Jira ticket identifier (e.g. `sf-123`) in the branch name (in a reliable position), I could write a git alias to open the corresponding URL. This is how I implemented this behavior.
Code to add a custom column to the WP Admin Posts listing page.
When using a WordPress translation function, e.g. __(), you need to use a hardcoded string (not a variable).
There are lots of ways to write variable names when programming. This is the list of ones I find myself using.
A non-breaking space has a unicode value of `U+00A0` (a normal space has a unicode value of `U+0020`). This is how I add this character.