In order to set a default WordPress admin color scheme for new users, all you need to do is add the following code in your theme’s functions.php file or in a site-specific plugin:...
Customize dashboard plugin Adminimize
If you manage a multi-author WordPress blog or WordPress sites for clients, then you may have wondered if it was possible to clean up the WordPress admin area for your users? There are lots of...
Remove dashboard menu items for a specific user-id
If you want to remove dashboard menu items for a specific user-id add this code n the functions.php function hide_menu(){ global $current_user; $user_id = get_current_user_id(); // echo...
Add custom style to the dashboard
If you wish to add custom style to the dashboard add this code to the functions.php function my_custom_style() { echo '<style> #menu-posts-elementor_library, .wrap > form:nth-child(3) >...
Remove the admin bar in the dashboard for non-admins
If you need to hide dashboard admin bar for the non admin user you can use this code. It don't hide it on the frontend. add_action('admin_head', 'hide_menu', 999); add_action('after_setup_theme',...
Remove dashboard widgets for user-id
The way to remove dashboard widgets from the specific user/users. function remove_dashboard_widgets() { global $current_user; $user_id = get_current_user_id(); // echo "user:".$user_id; // Use this...