WordPress at Your Fingertips
function is not described

WC_Email::get_option() public WC 1.0

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

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

Hooks from the method




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

Code of WC_Email::get_option() WC 5.9.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 );