His code’s cyclomatic complexity is too high! 👉

His code’s cyclomatic complexity is too high! 👉

The cyclomatic complexity of code is the measurement of how complex the code is; the numbers of linearly independent paths in it. It is one of the metrics for software quality. Cyclomatic Complexity is calculated in numbers. The higher the

WordPress 6.1 uses WebP images for your site content by default

WordPress 6.1 uses WebP images for your site content by default

UPDATE: This feature is pulled from the core in favour of developing it as a canonical plugin. Without you knowing. WordPress 6.1 will add a little controversial feature of generating a WebP image by default for every uploaded JPEG image.

WooCommerce hook after product added to the cart

WooCommerce hook after product added to the cart

Are you looking for a hook (to do something) after customers or visitors added the product to the cart? That is after the user clicked on the button shown in the screenshot below? The right hook is “woocommerce_add_to_cart”. Usage of

WooCommerce Template Overriding And Customizing

WooCommerce Template Overriding And Customizing

Heads up! This article may contain PHP codes and is intended for the Developers. However, feel free to learn! Templates in WordPress are the files that provide the layout on how the contents are displayed on the site. Any templates

WooCommerce Auto Delete Old Orders Plugin

WooCommerce Auto Delete Old Orders Plugin

Would you like to automatically delete old WooCommerce orders? Old orders might be redundant and consume memory in your database. So, it’s a wise move to remove all redundant orders from the WordPress database. You can manually delete the old

× WhatsApp