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.
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() WC Settings API::get option key code WC 9.6.1
public function get_option_key() { return $this->plugin_id . $this->id . '_settings'; }