SHOW:
|
|
- or go back to the newest paste.
1 | function add_custom_styles() { | |
2 | $user_id = get_current_user_id(); | |
3 | if ( is_admin() && $user_id == '25') { ?> | |
4 | <style type="text/css"> | |
5 | #menu-media {display: none !important;} | |
6 | </style> | |
7 | ||
8 | <?php } else if ( is_admin() && $user_id == '26') { ?> | |
9 | ||
10 | ||
11 | <?php } else { ?> | |
12 | ||
13 | ||
14 | <?php } | |
15 | } | |
16 | add_action('admin_head', 'add_custom_styles'); |