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:
Jonathan Moore 2019-08-14 08:02:04 +01:00 committed by GitHub
parent f687412acd
commit d88fdb6adf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}
/**