WC_Shipping_Legacy_Flat_Rate::get_option_key()publicWC 2.6.0

Return the name of the option in the WP DB.

Method of the class: WC_Shipping_Legacy_Flat_Rate{}

No Hooks.

Return

String.

Usage

$WC_Shipping_Legacy_Flat_Rate = new WC_Shipping_Legacy_Flat_Rate();
$WC_Shipping_Legacy_Flat_Rate->get_option_key();

Changelog

Since 2.6.0 Introduced.

WC_Shipping_Legacy_Flat_Rate::get_option_key() code WC 8.7.0

public function get_option_key() {
	return $this->plugin_id . 'flat_rate_settings';
}