WC_Shipping_Method::get_instance_form_fields()
Get settings fields for instances of this shipping method (within zones).
Description Description
Should be overridden by shipping methods to add options.
Return Return
(array)
Source Source
File: includes/abstracts/abstract-wc-shipping-method.php
public function get_instance_form_fields() { return apply_filters( 'woocommerce_shipping_instance_form_fields_' . $this->id, array_map( array( $this, 'set_defaults' ), $this->instance_form_fields ) ); }
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |