WC_Email::get_additional_content
Return content from the additional_content field.
Displayed above the footer.
Method of the class: WC_Email{}
Hooks from the method
Returns
String.
Usage
$WC_Email = new WC_Email(); $WC_Email->get_additional_content();
Changelog
| Since 3.7.0 | Introduced. |
WC_Email::get_additional_content() WC Email::get additional content code WC 10.6.2
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_or_transient( 'additional_content' ) ), $this->object, $this );
}