more arguments to woocommerce_email_get_option filter
This commit is contained in:
parent
c97dffcc66
commit
b295c64c7f
|
@ -335,7 +335,7 @@ class WC_Email extends WC_Settings_API {
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function get_option( $key, $empty_value = null ) {
|
public function get_option( $key, $empty_value = null ) {
|
||||||
return apply_filters( 'woocommerce_email_get_option', __( parent::get_option( $key, $empty_value ) ), $this );
|
return apply_filters( 'woocommerce_email_get_option', __( parent::get_option( $key, $empty_value ) ), $this, $key, $empty_value );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue