| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 12 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | View Code Duplication | public function add_menu_page() |
|
| 17 | { |
||
| 18 | \add_menu_page( |
||
| 19 | $this->config['title'], |
||
| 20 | $this->config['menu_title'], |
||
| 21 | $this->config['capability'], |
||
| 22 | $this->config['slug'], |
||
| 23 | null, // Create a child page with the parent_slug set to this page's slug |
||
| 24 | $this->config['icon'], |
||
| 25 | $this->config['position'] |
||
| 26 | ); |
||
| 27 | } |
||
| 28 | |||
| 40 | } |