Delete/Replace words from X to Y in post content
Untested, but I believe you can do something like this: add_action( ‘init’, function() { // since were editing content, we want to be very very careful // well do a dry run output first to make sure were doing what we want $dryrun = true; // Regex pattern finds anything between the X and Y … Read more