commit
3401fb32b0
|
@ -261,6 +261,16 @@ abstract class WC_Email extends WC_Settings_API {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Proxy to parent's get_option and attempty to localize the result using gettext.
|
||||
*
|
||||
* @access public
|
||||
* @return string
|
||||
*/
|
||||
function get_option($opt) {
|
||||
return __( parent::get_option( $opt ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if this email is enabled and will be sent.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue