Restore the WC_Settings_API::init_form_fields() method
This commit is contained in:
parent
4bbd92d045
commit
56e6429940
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue