add $this param to woocommerce_email_additional_content_
add $this param to woocommerce_email_additional_content_ filter to be consistent with 'woocommerce_email_subject_' . and 'woocommerce_email_heading_' . filters.
This commit is contained in:
parent
f687412acd
commit
d88fdb6adf
|
@ -368,7 +368,7 @@ class WC_Email extends WC_Settings_API {
|
|||
public function get_additional_content() {
|
||||
$content = $this->get_option( 'additional_content', '' );
|
||||
|
||||
return apply_filters( 'woocommerce_email_additional_content_' . $this->id, $this->format_string( $content ), $this->object );
|
||||
return apply_filters( 'woocommerce_email_additional_content_' . $this->id, $this->format_string( $content ), $this->object, $this );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue