WC_Settings_API::get_form_fields
Get the form fields after they are initialized.
Метод класса: WC_Settings_API{}
Хуки из метода
Возвращает
Массив. of options
Использование
$WC_Settings_API = new WC_Settings_API(); $WC_Settings_API->get_form_fields();
Код WC_Settings_API::get_form_fields() WC Settings API::get form fields WC 10.5.2
public function get_form_fields() {
return apply_filters( 'woocommerce_settings_api_form_fields_' . $this->id, array_map( array( $this, 'set_defaults' ), $this->form_fields ) );
}