Add a domain from plugin
-
I have setup Domain Mapping plugin, everything works great.
Now, I would like to let users switch their domain from frontend (I disabled backend completely for various reasons). I already have code to add/remove DNS records on submitting form, the last step is to add or change the primary domain in the Domain Mapping settings.
Is there a hook that I could use, or is there any other way to change or add new primary domain without writing to
wp_domain_mapping
table directly?Thanks
https://www.ads-software.com/plugins/wordpress-mu-domain-mapping/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Add a domain from plugin’ is closed to new replies.