Hide WordPress Admin notices Website Manager 13 June, 2022 Knowledge Base To HIDE WordPress Admin Notices //To HIDE WordPress Admin Notices// Add to Child Themes functions.phpadd_action(‘admin_enqueue_scripts’, ‘ds_admin_theme_style’);add_action(‘login_enqueue_scripts’, ‘ds_admin_theme_style’);function ds_admin_theme_style() {if (!current_user_can( ‘manage_options’ )) {echo ‘<style>.update-nag, .updated, .error, .is-dismissible { display: none; }</style>’;}} Post navigation Previous Previous post: Force Visitor to Log in or Create an Account before proceeding to Cart WoocommerceNext Next post: How to Add WooCommerce EXTRA Registration Form Fields