Hello,
I'm trying to alter a plugin so that it will only retrieve posts without tags. Here's a snip of code. Any idea on how I can limit this plugin to only those posts without tags already.
Thanks in advance!
//Retrieve the post
$post = get_posts("&numberposts=1&orderby=ID&order=DESC&offset=$offset");
$post = $post[0];
if (empty($post) || empty($post->ID))
die("#DONE#");
$entities = array();
$tags = array();
$newtags = array();
$content = $post->post_title . " " . $post->post_content;
$existing_tags = wp_get_post_tags($post->ID);