Is anyone aware of an equivalent to WP_PLUGIN_DIR
and WP_PLUGIN_URL
for themes that I can define in wp-config.php
, or am I stuck creating a mu-plugin and registering a new theme dir?
1 comment
Comments are closed.
Is anyone aware of an equivalent to WP_PLUGIN_DIR
and WP_PLUGIN_URL
for themes that I can define in wp-config.php
, or am I stuck creating a mu-plugin and registering a new theme dir?
Comments are closed.
The default theme directory is registered like this in
wp-settings.php
where
The functions
get_theme_root()
andget_raw_theme_root()
seems to be used in other theme related functions.I don’t see any theme related pre-defined constants used here so I would think that you are stuck with a plugin 😉
Maybe playing around with the global
$wp_theme_directories
might get you somewhere?