DELETE unwanted feeds & posts
PJ's Feed Monster - tools & settings
The powertools on this page are reserved for our premium ID holders only.
If you are a premium member and are seeing this message by error you may need to switch to your premium network first in the set-feeds screen.
To become a premium member please go
here !
";
} else {echo "
Welcome PREMIUM member. All buttons have been unlocked for you. Please be careful when deleting items.
";}
?>
Please note that the tools on this page can permanently delete items. Use them with care.
Have a feature request ?
Register at portaljumper.com and
participate in the group discussions at:
http://portaljumper.com/groups/feed-monster/forum/.
now deleting items ...
Deleting feed $feed";
$del_feed = mysql_query("select DISTINCT post_id from $wpdb->postmeta WHERE meta_value = '$feed' ");
while($row = mysql_fetch_array($del_feed))
{
echo "Now deleting post with ID : ".$row['post_id']."
";
$force_delete = TRUE;
wp_delete_post($row['post_id'], $force_delete);
}
}
echo "All the selected posts have been sucessfully deleted.";
?>
now deleting feeds ...
Deleting post $feed";
$del_feed = mysql_query("select DISTINCT post_id from $wpdb->postmeta WHERE meta_value = '$feed' ");
while($row = mysql_fetch_array($del_feed))
{
echo "Now deleting post with ID : ".$row['post_id']."
";
$force_delete = TRUE;
wp_delete_post($row['post_id'], $force_delete);
}
}
echo "All the selected posts have been sucessfully deleted.";
?>
WARNING ! THIS OPTION WILL ERASE ALL POSTS,PAGES,TAGS & CATS
Pete says: Please think twice !
This option instantly erases ALL your posts, ALL your Categories,
ALL your pages and ALL your tags. There is no way back and there is no further warning after you click the big yellow button below.
Once you click you will have a clean install in less than 1 second !
All the options from the option tables will stay intact so all your plugin options will stay the same.
query("TRUNCATE `".$wpdb->prefix."postmeta`");
$wpdb->query("TRUNCATE `".$wpdb->prefix."posts`");
$wpdb->query("TRUNCATE `".$wpdb->prefix."terms`");
$wpdb->query("TRUNCATE `".$wpdb->prefix."term_relationships`");
$wpdb->query("TRUNCATE `".$wpdb->prefix."term_taxonomy`");
echo "
Hope you were sure ! All tables were dropped
You can now continue with a fresh and clean wordpress (although all option tables etc. are still intact)";
}
}
?>