| @@ -40,8 +40,16 @@ | ||
| 40 | 40 | 'capability' => apply_filters( 'booktics_menu_permission_dashboard', $capability ), |
| 41 | 41 | 'position' => apply_filters( 'booktics_menu_position_dashboard', 1 ), |
| 42 | 42 | ), |
| 43 | 43 | array( |
| 44 | + 'id' => 'ask-ai', | |
| 45 | + 'title' => esc_html__( 'Ask AI', 'booktics' ), | |
| 46 | + 'link' => '/ask-ai', | |
| 47 | + 'capability' => apply_filters( 'booktics_menu_permission_ask-ai', $capability ), | |
| 48 | + // Between Dashboard (1) and Appointments (2) without renumbering the rest. | |
| 49 | + 'position' => apply_filters( 'booktics_menu_position_ask-ai', 1.5 ), | |
| 50 | + ), | |
| 51 | + array( | |
| 44 | 52 | 'id' => 'appointments', |
| 45 | 53 | 'title' => esc_html__( 'Appointments', 'booktics' ), |
| 46 | 54 | 'link' => '/appointments', |
| 47 | 55 | 'capability' => apply_filters( 'booktics_menu_permission_appointments', $capability ), |