Unable to override MMR_CACHE_DIR and MMR_CACHE_URL
-
Hi,
I’ve mmr installed in a wordpress (4.7.5) network installation, and mmr (1.8.6) is networkwide activated.
It seems that there’s no way to customize the
MMR_CACHE_DIR
andMMR_CACHE_URL
constants.
I’ve tried using the muplugins_loaded action but if the plugin is network activated, it will be loaded before this action fires.The only possible way is using wp-config.php file but, at this state, the
WP_CONTENT_URL
andWP_CONTENT_DIR
are not yet defined, and became tricky to have a strong and correct constants declaration.I would suggest to define mmr dirs and urls constants after the
mupluginsloaded
andplugins_loaded
action hooks. For example using the after_setup_theme action hook.Thank you very much in advance.
- The topic ‘Unable to override MMR_CACHE_DIR and MMR_CACHE_URL’ is closed to new replies.