What should I use instead of WP_CONTENT_DIR and WP_PLUGIN_DIR?
The WordPress documentation for Determining Plugin and Content Directories states that: WordPress makes use of the following constants when determining the path to the content and plugin directories. These should not be used directly by plugins or themes, but are listed here for completeness. It goes on to list WP_CONTENT_DIR and WP_PLUGIN_DIR among constants that … Read more