WC_Shipping_Method::get_instance_option_key
Return the name of the option in the WP DB.
Method of the class: WC_Shipping_Method{}
No Hooks.
Returns
String.
Usage
$WC_Shipping_Method = new WC_Shipping_Method(); $WC_Shipping_Method->get_instance_option_key();
Changelog
| Since 2.6.0 | Introduced. |
WC_Shipping_Method::get_instance_option_key() WC Shipping Method::get instance option key code WC 10.7.0
public function get_instance_option_key() {
return $this->instance_id ? $this->plugin_id . $this->id . '_' . $this->instance_id . '_settings' : '';
}