This question shows research effort; it is useful and clear
1
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我想对特定类别的 WordPress 帖子执行批量操作:我想将类别中的所有帖子呈现为私有。
这个 MySQL 查询似乎很接近,但它不起作用(我想我弄错了括号点):
UPDATE wp_posts SET post_status= 'private' WHERE post_staus = 'publish' and ID in (select object_id from wp_term_relationships where term_taxonomy_id = 25);