| @@ -17,17 +17,9 @@ | ||
| 17 | 17 | /** |
| 18 | 18 | * Add dashboard page to admin menu |
| 19 | 19 | */ |
| 20 | 20 | public static function setup_admin_page () { |
| 21 | - add_menu_page( | |
| 22 | - 'WANotifier', | |
| 23 | - 'WANotifier', | |
| 24 | - 'manage_options', | |
| 25 | - NOTIFIER_NAME, | |
| 26 | - array( __CLASS__ , 'output'), | |
| 27 | - 'data:image/svg+xml;base64,' . base64_encode(file_get_contents(NOTIFIER_PATH . 'assets/images/menu-icon.svg')), | |
| 28 | - '51' | |
| 29 | - ); | |
| 21 | + add_menu_page( 'WANotifier', 'WANotifier', 'manage_options', NOTIFIER_NAME, array( __CLASS__ , 'output'), 'dashicons-megaphone', '51' ); | |
| 30 | 22 | } |
| 31 | 23 | |
| 32 | 24 | /** |
| 33 | 25 | * Output |