WC_Settings_API::get_option_key
Return the name of the option in the WP DB.
Method of the class: WC_Settings_API{}
No Hooks.
Returns
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() WC Settings API::get option key code WC 10.4.3
public function get_option_key() {
return $this->plugin_id . $this->id . '_settings';
}