@@ -11,6 +11,9 @@ discard block |
||
| 11 | 11 | protected $items = array(); |
| 12 | 12 | protected $defaults = array(); |
| 13 | 13 | |
| 14 | + /** |
|
| 15 | + * @param string $type |
|
| 16 | + */ |
|
| 14 | 17 | public function __construct( $type ) { |
| 15 | 18 | $this->type = $type; |
| 16 | 19 | $this->sections = $this->load_sections(); |
@@ -137,6 +140,9 @@ discard block |
||
| 137 | 140 | echo '</div>'; |
| 138 | 141 | } |
| 139 | 142 | |
| 143 | + /** |
|
| 144 | + * @param boolean $remove |
|
| 145 | + */ |
|
| 140 | 146 | private function get_section_tab_title( $section, $title, $tab, $remove ) { |
| 141 | 147 | 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>'; |
| 142 | 148 | |
@@ -154,6 +160,9 @@ discard block |
||
| 154 | 160 | do_action( 'tabify_settings_tab_title_after', $tab, $section, $this->type ); |
| 155 | 161 | } |
| 156 | 162 | |
| 163 | + /** |
|
| 164 | + * @param integer $tab_id |
|
| 165 | + */ |
|
| 157 | 166 | private function get_section_box_list( $section, $items, $tab_id, $default_items ) { |
| 158 | 167 | $options = $this->get_options( $this->type ); |
| 159 | 168 | |