Restore the WC_Settings_API::init_form_fields() method

This commit is contained in:
Claudio Sanches 2016-06-14 19:00:18 -03:00
parent 4bbd92d045
commit 56e6429940
1 changed files with 11 additions and 0 deletions

View File

@ -74,6 +74,17 @@ abstract class WC_Settings_API {
echo '<table class="form-table">' . $this->generate_settings_html( $this->get_form_fields(), false ) . '</table>';
}
/**
* Initialise settings form fields.
*
* Add an array of fields to be displayed
* on the gateway's settings screen.
*
* @since 1.0.0
* @return string
*/
public function init_form_fields() {}
/**
* Return the name of the option in the WP DB.
* @since 2.6.0