WC_Settings_API::get_option_key()publicWC 2.6.0

Return the name of the option in the WP DB.

Method of the class: WC_Settings_API{}

No Hooks.

Return

String.

Usage

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

Changelog

Since 2.6.0 Introduced.

WC_Settings_API::get_option_key() code WC 8.6.1

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