Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php // don't copy this line to your functions.php file!
- /**
- * Temporary fix for admin menu conflict with the Email Subscribers & Newsletters plugin
- */
- function my_lifterlms_menu_fix() {
- if ( class_exists( 'es_cls_registerhook' ) && method_exists( 'es_cls_registerhook', 'es_adminmenu' ) ) {
- es_cls_registerhook::es_adminmenu();
- }
- }
- add_action( 'admin_menu', 'my_lifterlms_menu_fix', 999999, 1 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement