Support » Plugins » delete a category and all of its child category

  • Resolved uwiuw

    (@uwiuw)


    i hope somebody can answer this.

    I have problem when i have to create some custom solution. What i need to accomplish is some simple feature where every time user delete a category from administrator panel (in dashboard), then every posts (and all its meta field) and child category also get delete.

    Right now in wordpress, (i believe i use 2.9.2 version), every time a category get deleted then its ID get erase. But its child category and its post will not erase.

    The child and the post only got their terms and depth level changes.

    i have try some hook such as delete_term and delete_category but the return value i got from here just the ID of the deleted category.

    So how to accomplish this ?

  • The topic ‘delete a category and all of its child category’ is closed to new replies.