[wp-hackers] Deleting WordPress Tags

Michael E. Hancock justmichaelh at gmail.com
Sun Feb 22 19:25:53 GMT 2009

From: "Austin Matzko" <if.website at gmail.com>

> On Sun, Feb 22, 2009 at 8:38 AM, Thomas Belknap
>> I am in the process of writing a simple little plugin that finds and 
>> allows
>> you to delete orphaned tags.  I figured I'd just use a WP function that
>> deletes tags gracefully, but I was surprised to find that as far as I can
>> tell, no such function exists.
> You want wp_delete_term( 123, 'post_tag'), where 123 is the ID number
> of the tag.

Here's link to the same question in the forums


More information about the wp-hackers mailing list