wpseek.com
A WordPress-centric search engine for devs and theme authors


wp_plugin_dir › WordPress Constants

Since2.6.0
define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' ); // Full path, no trailing slash.
Defined at:

Allows for the plugins directory to be moved from the default location.

Source

define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' ); // Full path, no trailing slash.