woocommerce_settings_get_option()WC 1.0

Get a setting from the settings API.

No Hooks.

Return

String.

Usage

woocommerce_settings_get_option( $option_name, $default );
$option_name(mixed) (required)
Option name to save.
$default(mixed)
Default value to save.
Default: ''

woocommerce_settings_get_option() code WC 8.7.0

function woocommerce_settings_get_option( $option_name, $default = '' ) {

	if ( ! class_exists( 'WC_Admin_Settings', false ) ) {
		include dirname( __FILE__ ) . '/class-wc-admin-settings.php';
	}

	return WC_Admin_Settings::get_option( $option_name, $default );
}