rebase on oct-10-2023

This commit is contained in:
Rachit Bhargava
2023-10-10 17:23:21 -04:00
parent d37566ffb6
commit d096058d7d
4789 changed files with 254611 additions and 307223 deletions

View File

@@ -228,6 +228,13 @@ class WC_Email extends WC_Settings_API {
*/
public $replace = array();
/**
* E-mail type: plain, html or multipart.
*
* @var string
*/
public $email_type;
/**
* Constructor.
*/
@@ -400,6 +407,15 @@ class WC_Email extends WC_Settings_API {
* @return string
*/
public function get_additional_content() {
/**
* Provides an opportunity to inspect and modify additional content for the email.
*
* @since 3.7.0
*
* @param string $additional_content Additional content to be added to the email.
* @param object|bool $object The object (ie, product or order) this email relates to, if any.
* @param WC_Email $email WC_Email instance managing the email.
*/
return apply_filters( 'woocommerce_email_additional_content_' . $this->id, $this->format_string( $this->get_option( 'additional_content', $this->get_default_additional_content() ) ), $this->object, $this );
}