WordPress at Your Fingertips
function is not described

WC_Shipping_Method::get_instance_option_key() public WC 2.6.0

Return the name of the option in the WP DB.

{} 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_instance_option_key();

Changelog

Since 2.6.0 Introduced.

Code of WC_Shipping_Method::get_instance_option_key() WC 5.8.0

public function get_instance_option_key() {
	return $this->instance_id ? $this->plugin_id . $this->id . '_' . $this->instance_id . '_settings' : '';
}