Tired of WPBakery admin notices cluttering your dashboard? You can disable them all with a simple snippet — no plugin hacks required.
Just add this to your theme’s functions.php or a custom plugin:
add_filter('get_user_metadata', function ($value, $object_id, $meta_key, $single, $meta_type) {
if ($meta_key === 'wpb_notice_close_list') {
// Fake list of closed notices (e.g. IDs 1-9999)
return [ json_encode(range(1, 9999)) ];
}
return null;
}, 10, 5);
This trick tells WPBakery that the current user has already closed every possible notice (IDs 1–9999). As a result, no notices will be shown.
It’s a clean and effective way to keep your WordPress admin interface tidy — especially useful for white-label projects or client sites.