configuring web service url in wordpress
-
I have a wordpress website that accesses a web service. I have 2 environments and the web service url is different in each. I would like to call the right webserice url via configuration instead of hard coding the url in my wordpress php files. How can I configure webservice Url in wp-config.php file and how can I get the URL information in my theme php files.
Note: I prefer not using any plugins to achieve this.
Thanks,
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘configuring web service url in wordpress’ is closed to new replies.