1global $current_user;
2
3get_currentuserinfo();
4
5if ( $current_user ) {
6 $permission = get_user_meta( $current_user->ID, 'some_meta' , true );
7
8 if ( ! empty( $permission ) ) {
9 // do stuff
10 }
11}
12// works for both array and single values
13