예제 #1
0
									<label class="wa-label" for="<?php 
                        echo esc_attr($f_name);
                        ?>
"><?php 
                        echo "{$option['title']}";
                        ?>
</label>							
									<div class="wa-field"><?php 
                        echo WA_Helper::_HTML($f_name, $option);
                        ?>
</div>
									<?php 
                    } else {
                        ?>
									<div class="wa-field-full"><?php 
                        echo WA_Helper::_HTML($f_name, $option);
                        ?>
</div>
									<?php 
                    }
                    ?>
								</div>
								<?php 
                    break;
            }
        }
    }
    echo "</div>";
    array_push($body_tabs, ob_get_clean());
}
echo implode('', $header_tabs);
<div id="woo_auction_tab" class="panel woocommerce_options_panel wc-metaboxes-wrapper">
	<?php 
foreach ($wa_fields as $f_name => $params) {
    ?>
		<div class="options_group">
			<p class="form-field">
				<label for="<?php 
    echo esc_attr($f_name);
    ?>
"><?php 
    echo "{$params['title']}";
    ?>
</label>
				<?php 
    echo WA_Helper::_HTML($f_name, $params);
    ?>
			</p>
		</div>
		<?php 
}
?>
</div>