Scripts and styles are printed by wp_head itself, at priority 9. A callback hooked to wp_head at the default priority of 10 therefore runs after the queue has…
Every request WordPress serves opens with one query that reads every option flagged autoload = yes and unserialises the lot into memory. That is a reasonable design for…
WordPress 3.5 replaced the uploader with a Backbone application, and the hook every custom meta box was built on went with it. The old pattern opened ThickBox and…
Asking for every post is one argument away, which is why it survives review: it works on the development database, and the development database has forty products in…
Editing a file under plugins/woocommerce/templates/ works until the next update overwrites it, which is usually a fortnight. The template loader looks in the active theme first, so a…
A community site’s posts table stays in the tens of thousands while bp_activity reaches millions, because it records everything: an update, a comment, a friendship, a group join,…