Home / Admin / Disable All Admin Notices individually
Duplicate Snippet

Embed Snippet on Your Site

Disable All Admin Notices individually

Code Preview
php
<?php
function disable_all_admin_notices() {
    remove_all_actions('admin_notices');
}
add_action('admin_init', 'disable_all_admin_notices');

Comments

Add a Comment