Although the official WordPress source code still lives in a Subversion repository, you can contribute patches without having to touch svn
Ryan McCue has written an insightful post about caching data in WordPress with the Transients API. Most interesting to me is how he describes expiration in transients as a “maximum age” versus a “guaranteed expiration”. He also makes a worthwhile point about how even when you store transients, it doesn’t mean they won’t be expired…
Sami Keijonen shares his experience as a first time contributor to the WordPress default theme building process. He primarily worked within the realm of SVG icons for the Twenty Seventeen theme.
Before we dive in this week’s function, please note that it’s usually against any payment provider’s Terms of Service (like PayPal’s) to add fees to a transaction based on the customer’s chosen payment gateway, so please make sure to use “cart fees” in a legal way. You got it — in this issue we’ll study…
A thorough post about how you can leverage the WordPress 3.5 Media Manager in a widget.
Missing Menu Items • Farewell PHP 7.4 • I Didn’t Know You Could Do That in the Block Editor • Why is Your Computer Cosplaying as a PDP-11? • Effective Writing for Devs • The State of CSS • The Swiss Army Knife of Website Tools: Website Toolkit
This week’s function is wc_get_held_stock_quantity(). It fetches the inventory available for pending orders in WooCommerce.