One of the supported features of the Divi WooCommerce Products module is to render products from a specific category. This allows you to create uniquely designed category pages for each one of your shop categories. For example, let’s assume that we run an apparel shop and have created a dedicated page on Divi Builder. The […]
Archive | PHP
WordPress and WooCommerce Compatibility Requirements – June 2023
As of this month, we are updating relevant WordPress plugins and WooCommerce extensions to meet the following minimum version requirements and version compatibilities: WordPress 6.2 compatible WooCommerce 7.8 compatible PHP 8.x compatible WooCommerce HPOS compatible Minimum WordPress 6.0 required Minimum WooCommerce 7.4 required Minimum PHP 7.2 required Our first new update to cover these is […]
The unsettling Truth about the Global Unset
In PHP, there is a pitfall when using unset on a global variable within the scope of a function or method. When referred to using the global keyword within a function, unset will not destroy the global variable within the global scope. global $banana; $banana = ‘yellow’; function monkey() { global $banana; unset( $banana ); […]