wpseek.com
WordPress开发者和主题制作者的搜索引擎


wp_plugin_dir › WordPress常量

Since2.6.0
› define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' ); // Full path, no trailing slash.
定义在:

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

源码

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