Is there an equivalent PHP function for doing what search-replace does in WP-CLI?

There are the search-replace commands in WP-CLI:

https://developer.wordpress.org/cli/commands/search-replace/

Just wondering if a php function doing the same thing is available in WordPress core? I have tried a few searches, but all is WP-CLI.

Read more here:: Is there an equivalent PHP function for doing what search-replace does in WP-CLI?

Leave a Reply

Your email address will not be published. Required fields are marked *