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.
Tag Archives | Development
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.