-
Home
-
Popup Anything – Popup for opt-ins and Lead Generation Conversions
- Tips
How to Hide the "Popup Anything" Admin Menu
function plt_hide_popup_anything_on_click_menus() {
//Hide the "Popup Anything" menu.
remove_menu_page('popup-anything-on-click');
}
add_action('admin_menu', 'plt_hide_popup_anything_on_click_menus', 1000);
Where do I put this code?
How to Hide Popup Anything - A Marketing Popup Meta Boxes
function plt_hide_popup_anything_on_click_metaboxes() {
$screen = get_current_screen();
if ( !$screen ) {
return;
}
//Hide the "Popup Anything - Settings" meta box.
remove_meta_box('popupaoc-post-sett', $screen->id, 'normal');
//Hide the "Popup Report" meta box.
remove_meta_box('paoc-popup-report', $screen->id, 'side');
}
add_action('add_meta_boxes', 'plt_hide_popup_anything_on_click_metaboxes', 20);