WordPress at Your Fingertips
function is not described

WC_Settings_Shipping::output() public WC 1.0

Output the settings.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Settings_Shipping = new WC_Settings_Shipping();
$WC_Settings_Shipping->output();

Code of WC_Settings_Shipping::output() WC 5.9.0

public function output() {
	global $current_section, $hide_save_button;

	// Load shipping methods so we can show any global options they may have.
	$shipping_methods = $this->get_shipping_methods();

	if ( '' === $current_section ) {
		$this->output_zones_screen();
	} elseif ( 'classes' === $current_section ) {
		$hide_save_button = true;
		$this->output_shipping_class_screen();
	} else {
		$is_shipping_method = false;
		foreach ( $shipping_methods as $method ) {
			if ( in_array( $current_section, array( $method->id, sanitize_title( get_class( $method ) ) ), true ) && $method->has_settings() ) {
				$is_shipping_method = true;
				$method->admin_options();
			}
		}
		if ( ! $is_shipping_method ) {
			parent::output();
		}
	}
}