domain_mapping_plugins_uri fail outside of /plugins/
-
Hi,
I use the plugins_url function to get paths from file into /mu-plugins/.
It work well when the website has no custom domain but with custom domains it just return weirdly cut string. Usualy just the last letter.
For example calling
plugins_url('feat-analytics.js', __FILE__)
in /mu-plugins/feat-analytics.php
will return string(1) “s”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 ‘domain_mapping_plugins_uri fail outside of /plugins/’ is closed to new replies.