WordPress at Your Fingertips
function is not described

WC_Settings_API::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_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.

Code of WC_Settings_API::get_option_key() WC 5.5.2

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