Hi @alekseykomarov,
First of all, thank you for choosing my Head & Footer Code plugin.
To bulk replace specific string in WordPress database you can use plugin Better Search Replace or stand-alone front-end script Database Search and Replace (which I prefer).
Important features of both tools:
- They support replace in serialized arrays (which are used to store article codes in my HFC plugin).
- You can set source and target string and select specific tables where replace will be applied.
- You can select only specific tables where replace will be applied. To achieve what you wish, select only
wp_posts
and wp_post_meta
tables.
- Before you do a live run, you can test results with dry run.
IMPORTANT: Make sure that after you finish with replacement, you remove/uninstall plugin/tool for Search and Replace, to prevent security breach to your website because those tools allow anyone who has access to plugin/script screen to do any replacement in database.
If you are happy how Head & Footer Code works, feel free to honestly review plugin at https://www.ads-software.com/support/plugin/head-footer-code/reviews/
Cheers,
Aleksandar