I'm moving everything that is displayed with the_content in custom fields and i want to remove/emtpy the content of the post_content column in the database, for every post.
Is there a mysql query that does that or another way?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityYou can use UPDATE
wp_postsSET
post_content="" WHERE 1
UPDATE wp_posts SET post_content="" WHERE post_type='post'
. Thank you.