eighteen73 / wp-cli-tools

WP-CLI commands to assist our development workflow
1 stars 0 forks source link

Added flag for replacing live urls with local urls #21

Closed DanielHudson2 closed 3 months ago

DanielHudson2 commented 3 months ago

Added a flag to use for replacing database urls "--urls"

adding flag runs replace_urls() function which gets the remote home url and the local home url and runs a search-replace command locally to replace the live urls with the local ones