WordPress at Your Fingertips
function is not described

WC_Shipping_Legacy_Flat_Rate::get_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_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.

Code of WC_Shipping_Legacy_Flat_Rate::get_option_key() WC 5.9.0

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