Conditions | 3 |
Paths | 2 |
Total Lines | 26 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
68 | function html() { |
||
69 | |||
70 | // vars |
||
71 | $view = array( |
||
72 | 'version' => acf_get_setting('version'), |
||
73 | 'have_pro' => acf_get_setting('pro'), |
||
74 | 'tabs' => array( |
||
75 | 'new' => __("What's New", 'acf'), |
||
76 | 'changelog' => __("Changelog", 'acf') |
||
77 | ), |
||
78 | 'active' => 'new' |
||
79 | ); |
||
80 | |||
81 | |||
82 | // set active tab |
||
83 | if( !empty($_GET['tab']) && array_key_exists($_GET['tab'], $view['tabs']) ) { |
||
84 | |||
85 | $view['active'] = $_GET['tab']; |
||
86 | |||
87 | } |
||
88 | |||
89 | |||
90 | // load view |
||
91 | acf_get_view('settings-info', $view); |
||
92 | |||
93 | } |
||
94 | |||
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.