How to set “Site Address (URL)” programmatically on WP multisite?

Question

I have a new WP multisite configured to use subdomains by default. Network sites are created programmatically when the user signs up. I want to give the user the option to enter a custom domain and then update the Site Address (URL) for them.

What is the WP function used to update this field?

enter image description here

0
, , , Kirkland 3 years 2020-04-04T04:52:03-05:00 0 Answers 90 views 0

Leave an answer

Browse
Browse