@@ 255-257 (lines=3) @@ | ||
252 | public function parse_fields ( $fields ) { |
|
253 | foreach ( $fields as $k => $v ) { |
|
254 | if ( isset( $v['section'] ) && ( $v['section'] != '' ) && ( isset( $this->sections[$v['section']] ) ) ) { |
|
255 | if ( ! isset( $this->sections[$v['section']]['fields'] ) ) { |
|
256 | $this->sections[$v['section']]['fields'] = array(); |
|
257 | } |
|
258 | ||
259 | $this->sections[$v['section']]['fields'][$k] = $v; |
|
260 | } else { |
|
@@ 388-390 (lines=3) @@ | ||
385 | * @return void |
|
386 | */ |
|
387 | public function section_description ( $section ) { |
|
388 | if ( isset( $this->sections[$section['id']]['description'] ) ) { |
|
389 | echo wpautop( $this->sections[$section['id']]['description'] ); |
|
390 | } |
|
391 | } // End section_description_main() |
|
392 | ||
393 | /** |