0

I have extended my Wordpress with a page that connects to an external Api. I want to define constants for the url, key and secret. Do you think the wp-config.php is a good place to define these constants or better to define the constants in a separate file?

  • yes it's looks like a good place for me. another good place in my point of view is in a plugin file if you need to install this plugin on a few places. – mmm Jan 4 '18 at 21:44
  • Must Use Plugins – Nicolai Jan 4 '18 at 21:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.