WC_REST_General_Settings_V4_Controller::get_settings_general_instance
Get the WC_Settings_General instance.
Method of the class: WC_REST_General_Settings_V4_Controller{}
No Hooks.
Returns
WC_Settings_General.
Usage
// private - for code of main (parent) class only $result = $this->get_settings_general_instance();
WC_REST_General_Settings_V4_Controller::get_settings_general_instance() WC REST General Settings V4 Controller::get settings general instance code WC 10.3.6
private function get_settings_general_instance() {
if ( is_null( $this->settings_general_instance ) ) {
$this->settings_general_instance = new WC_Settings_General();
}
return $this->settings_general_instance;
}