Every wonder if you could limit or disable those pesky WordPress post revisions? Well you can! With one of these two snippets you will be on your way.
Need to change the number of products you are displaying on a page with WooCommerce? Fret no more! It’s simple, just add this filter to your functions.php.
Using ‘tax_input’ with wp_insert_post() and no terms are being added to the post? The solution is pretty straight forward. Instead of assigning the terms in wp_insert_post(), use wp_set_object_terms() immediately after. Interested as to why this is? Read on.