@@ -9,6 +9,9 @@ discard block |
||
9 | 9 | |
10 | 10 | protected $items = array(); |
11 | 11 | |
12 | + /** |
|
13 | + * @param string $type |
|
14 | + */ |
|
12 | 15 | public function __construct( $type ) { |
13 | 16 | $this->type = $type; |
14 | 17 | $this->sections = $this->load_sections(); |
@@ -166,6 +169,9 @@ discard block |
||
166 | 169 | $this->print_backbone_template(); |
167 | 170 | } |
168 | 171 | |
172 | + /** |
|
173 | + * @param boolean $remove |
|
174 | + */ |
|
169 | 175 | private function get_section_tab_title( $section, $title, $tab, $remove ) { |
170 | 176 | echo '<h2><span class="hide-if-no-js">' . $title . '</span><input type="text" name="tabify[' . $this->type . '][' . $section . '][tabs][' . $tab['id'] . '][title]" value="' . esc_html( $title ) . '" class="hide-if-js" /></h2>'; |
171 | 177 | |
@@ -232,6 +238,7 @@ discard block |
||
232 | 238 | * Show the items for the sortable list |
233 | 239 | * |
234 | 240 | * @since 0.4.0 |
241 | + * @param integer $tab_id |
|
235 | 242 | */ |
236 | 243 | protected function list_show_items( $item_id, $item_title, $tab_id, $type, $default_items ) { |
237 | 244 | $options = $this->get_options( $this->type ); |