WC_Email::get_option()publicWC 1.0

Proxy to parent's get_option and attempt to localize the result using gettext.

Method of the class: WC_Email{}

Hooks from the method

Return

String.

Usage

$WC_Email = new WC_Email();
$WC_Email->get_option( $key, $empty_value );
$key(string) (required)
Option key.
$empty_value(mixed)
Value to use when option is empty.
Default: null

WC_Email::get_option() code WC 8.7.0

public function get_option( $key, $empty_value = null ) {
	$value = parent::get_option( $key, $empty_value );
	return apply_filters( 'woocommerce_email_get_option', $value, $this, $value, $key, $empty_value );
}