wpneo7
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] How to hide LScache buttonReplaced the code with single quotes and it worked perfectly 🙂
Forum: Plugins
In reply to: [LiteSpeed Cache] Hide Diamond Menu from toolbarReplaced the code with single quotes and it worked perfectly 🙂
Forum: Plugins
In reply to: [LiteSpeed Cache] How to hide LScache buttonCode provided by the user is not working, Adding it into theme’s functions.php file is not feasible option, what if user switches the theme.
With MU-plugin file, we tested with another test plugin, we were able to hide “Yoast SEO” plugin top toolbar menu button using –
$wp_admin_bar->remove_menu(‘wpseo-menu’);
but it is not working with LSC – $wp_admin_bar->remove_menu(‘litespeed-menu’);
Forum: Plugins
In reply to: [LiteSpeed Cache] Hide Diamond Menu from toolbarWith MU-plugin file we were able to hide “Yoast SEO” plugin top toolbar menu button using –
$wp_admin_bar->remove_menu(‘wpseo-menu’);
but it is not working with LSC – $wp_admin_bar->remove_menu(‘litespeed-menu’);
Forum: Plugins
In reply to: [LiteSpeed Cache] Hide Diamond Menu from toolbarWe’re using mu-plugins file to hide LSCache options, using remove_menu_page(‘litespeed’);
We were able to hide the “LiteSpeed Cache” on the left side WP dashboard.Above code is not working if we use it in mu-plugins file to hide diamond menu from toolbar. Adding it into theme’s functions.php file is not feasible option, what if user switches the theme.
How to hide LSC diamond button from top toolbar menu through mu-plugins file ? Any help would be greatly appreciated, thank you!
- This reply was modified 5 years, 7 months ago by wpneo7.