How to bulk delete manual excerpts of posts in WordPress

rifky nur setyadi zqgyZdnx7qY unsplash scaled Blog Diary
This article can be read in about 1 minutes.

Put the following code at the bottom of the theme’s functions.php, save and update, reload the site, delete the code from functions.php, save again and update. Then, you don’t need to go to MyPHPAdmin.

$wpdb->query( "UPDATE wp_posts SET post_excerpt='' " ); 

Comment

Donate with Cryptocurrency!

Copied title and URL