admin_url returns the original domainname
-
A plugin we use, uses the wp built in funtion called admin_url – https://codex.wordpress.org/Function_Reference/admin_url
In our case we you’ve mapped http://sub.website.com to http://www.website.com
The mapping plugin, when an Ajax request is sent it returns the original site url (http://sub.website.com) ) instead of http://www.website.com.
How can we make it work the the mapped domain is returned in the funtion?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘admin_url returns the original domainname’ is closed to new replies.