WordPress at Your Fingertips
function is not described

WC_Shipping_Method::get_admin_options_html() public WC 1.0

Return admin options as a html string.

{} It's a 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();

Code of WC_Shipping_Method::get_admin_options_html() WC 5.8.0

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>';
}