Display a file from another git branch
If you have one branch checked out but want to see what a file looks
like on another branch or a previous revision, use
It’s a slicker technique than checking out the branch and viewing the file directly. Especially if you have local edits that you’d otherwise have to stash or discard before changing branches.
DISABLE_WP_CRON constant in
wp-config.php to prevent
WordPress from spawning its pseudo-cron implementation:
If you set this, need to make sure
/wp-cron.php is hit periodically,
otherwise scheduled tasks won’t execute.
Adding metadata to fields created by Advanced Custom Fields
update_post_meta and the field name provided
when creating the custom field. ACF is smart enough to figure it out.