-
Home
-
Master Addons For Elementor – Widgets, Extensions, Theme Builder, Popup Builder & Template Kits
- Tips
How to Hide the "Master Addons" Admin Menu
function plt_hide_master_addons_menus() {
//Hide the "Master Addons" menu.
remove_menu_page('master-addons-settings');
}
add_action('admin_menu', 'plt_hide_master_addons_menus', 1000000000);
Where do I put this code?
How to Hide Master Addons for Elementor Meta Boxes
function plt_hide_master_addons_metaboxes() {
$screen = get_current_screen();
if ( !$screen ) {
return;
}
//Hide the "Popup Settings" meta box.
remove_meta_box('jltma_popup_settings', $screen->id, 'side');
//Hide the "Display Conditions" meta box.
remove_meta_box('jltma_popup_conditions', $screen->id, 'normal');
}
add_action('add_meta_boxes', 'plt_hide_master_addons_metaboxes', 20);
How to Hide the "Master Addons Overview" Dashboard Widget
function plt_hide_master_addons_dashboard_widgets() {
$screen = get_current_screen();
if ( !$screen ) {
return;
}
//Remove the "Master Addons Overview" widget.
remove_meta_box('jltma_dashboard_widget', 'dashboard', 'normal');
}
add_action('wp_dashboard_setup', 'plt_hide_master_addons_dashboard_widgets', 20);