Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End include_once issue Reply To: include_once issue

#144167
asiek
Participant

Here is what I tried to use from reading that post//

 add_action('init', 'mu_plugin_urls');
function mu_plugin_urls() {
define( 'MU_PLUGIN_URL', plugins_url( 'mu-plugins' , dirname( __FILE__ ) ) );
define( 'MU_MB_URL', MU_PLUGIN_URL . '/metaboxes' );
define( 'MU_MB_CSS_URL', MU_MB_URL . '/css' );
define( 'MU_MB_IMG_URL', MU_MB_URL . '/images' );
define( 'MU_MB_JS_URL', MU_MB_URL . '/js' ); 
}