WC_Shipping_Rate::set_id( string $id )

Set ID for the rate. This is usually a combination of the method and instance IDs.


Description Description


Parameters Parameters

$id

(Required) Shipping rate ID.


Top ↑

Source Source

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

	public function set_id( $id ) {
		$this->data['id'] = (string) $id;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.2.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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