WC_Shipping_Flat_Rate::init()

Init user set variables.


Description Description


Source Source

File: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php

	public function init() {
		$this->instance_form_fields = include 'includes/settings-flat-rate.php';
		$this->title                = $this->get_option( 'title' );
		$this->tax_status           = $this->get_option( 'tax_status' );
		$this->cost                 = $this->get_option( 'cost' );
		$this->type                 = $this->get_option( 'type', 'class' );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.