wp-media / wp-rocket-cli

WP CLI interface for the WP Rocket plugin
74 stars 37 forks source link

Remove hostnames when CDN is deactivated #63

Open tobias992 opened 12 months ago

tobias992 commented 12 months ago

Is your feature request related to a problem? Please describe. When i use "wp rocket cdn --enable=false" WP-Rocket doesn't remove the hostname. When i re-enable the CDN later, the site is broken because there are 2 hostnames in settings (because i use random urls like cdn2244423.domain.com).

Describe the solution you'd like Also delete hostnames when use "wp rocket cdn --enable=false".

Describe alternatives you've considered

Additional context