What's the path to mu_plugins?
-
I’m trying to load a custom style sheet in my mu_plugins folder. The stylesheet is in in mu_plugins/login/login-styles.css, and I’d like to load it properly using the path to mu_plugins instead of hard-coding the full path.
I can’t figure out the syntax to load it, so I’m using the full URL, which seems a little hacky:
‘function custom_login_css() {
echo ‘<link rel=”stylesheet” type=”text/css” href=”https://mydomain/wp-content/mu-plugins/login/login-styles.css”>’;
}
add_action(‘login_head’, ‘custom_login_css’);’Does anyone know the code for the path to files in the mu_plugins folder?
Thanks,
-Todd
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘What's the path to mu_plugins?’ is closed to new replies.