Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function add_custom_styles() {
- $user_id = get_current_user_id();
- if ( is_admin() && $user_id == '25') { ?>
- <style type="text/css">
- #menu-media {display: none !important;}
- </style>
- <?php } else if ( is_admin() && $user_id == '26') { ?>
- <?php } else { ?>
- <?php }
- }
- add_action('admin_head', 'add_custom_styles');
Add Comment
Please, Sign In to add comment