Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action('admin_init', 'run_chk_usr_lvl');
- function run_chk_usr_lvl($matches) {
- //global $userdata;
- if (!current_user_can('update_plugins'))
- remove_action('admin_notices', 'update_nag', 3);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement