WordPress at a glance
function is not described

WC_REST_Setting_Options_Controller::get_setting() public WC 1.0

Get setting data.

{} It's a method of the class: WC_REST_Setting_Options_Controller{}

No Hooks.

Return

stdClass|WP_Error.

Usage

$WC_REST_Setting_Options_Controller = new WC_REST_Setting_Options_Controller();
$WC_REST_Setting_Options_Controller->get_setting( $group_id, $setting_id );
$group_id(string) (required)
Group ID.
$setting_id(string) (required)
Setting ID.

Code of WC_REST_Setting_Options_Controller::get_setting() WC 5.0.0

<?php
public function get_setting( $group_id, $setting_id ) {
	$setting = parent::get_setting( $group_id, $setting_id );
	if ( is_wp_error( $setting ) ) {
		return $setting;
	}
	$setting['group_id'] = $group_id;
	return $setting;
}