WC_Shipping_Method::get_admin_options_html()
Return admin options as a html string.
Method of the class: WC_Shipping_Method{}
No Hooks.
Return
String
.
Usage
$WC_Shipping_Method = new WC_Shipping_Method(); $WC_Shipping_Method->get_admin_options_html();
WC_Shipping_Method::get_admin_options_html() WC Shipping Method::get admin options html code WC 8.6.1
public function get_admin_options_html() { if ( $this->instance_id ) { $settings_html = $this->generate_settings_html( $this->get_instance_form_fields(), false ); } else { $settings_html = $this->generate_settings_html( $this->get_form_fields(), false ); } return '<table class="form-table">' . $settings_html . '</table>'; }