Forums
Home / Plugin: OneSignal - Web Push Notifications / How to remove the metabox from edit screen?
(@simbian)
4 weeks, 1 day ago
Hello, i would like to remove completely the metabox from the WP edit screen in order to prevent being loaded, in functions.php i have written:
function remove_unwanted_metaboxes() { $screen = get_current_screen(); if (!$screen) { return; } // OneSignal Push Notifications remove_meta_box('onesignal_metabox', $screen->id, 'normal');}add_action('add_meta_boxes', 'remove_unwanted_metaboxes', 20);
but it don’t works.Thanks in advice.
The page I need help with: [log in to see the link]
(@jon1signal)
1 day, 13 hours ago
Sorry, we don’t provide this type of support. You will need to hire a developer or use the “Screen Options” drop down to remove the “OneSignal Push Notifications” option.
This guys video might help: