WordPress at Your Fingertips
function is not described

WC_Settings_API::get_form_fields() public WC 1.0

Get the form fields after they are initialized.

{} It's a method of the class: WC_Settings_API{}

Return

Array. of options

Usage

$WC_Settings_API = new WC_Settings_API();
$WC_Settings_API->get_form_fields();

Code of WC_Settings_API::get_form_fields() WC 5.5.2

<?php
public function get_form_fields() {
	return apply_filters( 'woocommerce_settings_api_form_fields_' . $this->id, array_map( array( $this, 'set_defaults' ), $this->form_fields ) );
}