| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | function admin_menu() { |
||
| 40 | |||
| 41 | // bail early if no show_admin |
||
| 42 | if( !acf_get_setting('show_admin') ) { |
||
| 43 | |||
| 44 | return; |
||
| 45 | |||
| 46 | } |
||
| 47 | |||
| 48 | |||
| 49 | // add page |
||
| 50 | add_submenu_page('edit.php?post_type=acf-field-group', __('Info','acf'), __('Info','acf'), acf_get_setting('capability'),'acf-settings-info', array($this,'html')); |
||
| 51 | |||
| 52 | } |
||
| 53 | |||
| 102 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.