wordpress如何删除某个分类下的文章呢?sql办法解决!

wordpress如何删除某个分类下的文章呢?sql办法解决!
delete from wp_posts using wp_posts, wp_term_relationships, wp_term_taxonomy where wp_posts.id=wp_term_relationships.object_id and wp_term_relationships.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id and wp_term_relationships.term_taxonomy_id = 1

这里term_taxonomy_id = 1需要替换为自己的分类ID.

灵感顿悟

5g发展历史-1g时代的诞生,美国独占鳌头!

2021-12-15 14:36:02

网站建设

没有备案的域名也能申请qq互联-2021-07更新

2021-12-15 11:48:15