In multisite, switch_to_blog() repoints the database tables and the uploads path. It does not reload the other site’s active plugins, its theme, or anything a plugin cached in…
A WooCommerce product is a post, so get_post() returns something usable and the price is right there in the meta. It is also wrong for variable products, where…
Printing a <script> tag straight into a template puts it wherever the template happens to run, which is why so many themes have jQuery loaded twice and a…
wp_mail() is PHPMailer configured to use PHP’s mail(), which hands the message to whatever MTA is on the box. The message therefore leaves from the web server, as…
Three installs, three plugin sets, one person patching them — a security release forgotten on the third site for six weeks. The import order, and what a shared…
A theme override is a copy of a WooCommerce template placed in yourtheme/woocommerce/, and WooCommerce uses it in preference to its own — permanently, whatever happens upstream. 2.1…
Until 2.2, an order’s status was a term in a shop_order_status taxonomy. From 2.2 it is a custom post status with a wc- prefix, and the upgrade routine…
phpMyAdmin exports a database inside a PHP request, so it is bounded by max_execution_time, memory_limit, the web server’s own timeout and the browser staying open. Somewhere around a…