Backend: MailPoet removes all Admin Scripts/Styles?
-
Hey guys,
could it be that MailPoet removes all enqueued Admin scripts and styles? There is an issue with the Newspaper Theme from TagDiv https://forum.tagdiv.com/forum/newspaper/ – some CSS is not loaded and their logo is using up 2 screenspaces only on the MailPoet backend pages.
Also, my attempts to fix it didn’t work. Does MailPoet remove enqueued styles?
function wpdocs_enqueue_custom_admin_style() {
wp_register_style( ‘custom_wp_admin_css’, get_stylesheet_directory_uri() . ‘/css/admin-styles.css’, false, ‘1.0.0’ );
wp_enqueue_style( ‘custom_wp_admin_css’ );
}
add_action( ‘admin_enqueue_scripts’, ‘wpdocs_enqueue_custom_admin_style’ );
- The topic ‘Backend: MailPoet removes all Admin Scripts/Styles?’ is closed to new replies.