How to prevent adding items to the WooCommerce cart using the woocommerce_add_to_cart_validation hook.
OK these are absolutely 100% super useful for tracking down where stuff is coming from via Hooks and Filters. You need the Debug Bar plugin installed in…
A couple of php functions to enable you to fully customise the WordPress admin menu found in the dashboard.
Last time I posted a function to split text content into columns which didn’t really work for lists, images basically anything that wasn’t paragraphs. Not ideal. So…
Here’s a little function to add columns to your WordPress posts
Here’s a little function which will find and add all your Variation information to the Basket underneath the product name.
Function to retrieve the parent category from within a sub category in WordPress
Add Google Analytics to WordPress in a non render blocking fashion.
A little function to move the order or layout of the meta boxes on the WordPress Post Edit screen.
Add this code snippet to you functions.php file to add Excerpts to Pages in WordPress.
A quick guide to using the wpcf7_before_send_mail hook within Contact Form 7
Remove the word ‘Private:’ from private posts and pages in WordPress