Merge pull request #520 from patrickgarman/master

Default function admin_options() with settings fields
This commit is contained in:
Mike Jolley 2012-01-21 18:43:15 -08:00
commit 2e60d61197
1 changed files with 6 additions and 1 deletions

View File

@ -23,7 +23,12 @@ class woocommerce_settings_api {
*
* @since 1.0.0
*/
function admin_options() {}
function admin_options() { ?>
<h3><?php echo (isset($this->method_title)) ? $this->method_title : __('Settings','woocommerce') ; ?></h3>
<table class="form-table">
<?php $this->generate_settings_html(); ?>
</table><?php
}
/**
* Initialise Settings Form Fields