more arguments to woocommerce_email_get_option filter

This commit is contained in:
John Clause 2015-02-17 15:59:14 -07:00
parent c97dffcc66
commit b295c64c7f
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ class WC_Email extends WC_Settings_API {
* @return string
*/
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 );
}
/**