| Conditions | 5 |
| Paths | 5 |
| Total Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php //phpcs:ignore Squiz.Commenting.FileComment.Missing |
||
| 46 | function get_user_meta( $user_id, $key = '', $single = false ) { |
||
| 47 | switch ( $key ) { |
||
| 48 | case 'first_name': |
||
| 49 | return 'Test'; |
||
| 50 | |||
| 51 | case 'last_name': |
||
| 52 | return 'User'; |
||
| 53 | |||
| 54 | case 'nickname': |
||
| 55 | return 'test'; |
||
| 56 | |||
| 57 | case 'password_history': |
||
| 58 | return array(); |
||
| 59 | default: |
||
| 60 | return false; |
||
| 61 | } |
||
| 62 | } |
||
| 63 | } |
||
| 64 |