WC_Email::get_additional_content()
Return content from the additional_content field.
Displayed above the footer.
Метод класса: WC_Email{}
Хуки из метода
Возвращает
Строку
.
Использование
$WC_Email = new WC_Email(); $WC_Email->get_additional_content();
Список изменений
С версии 3.7.0 | Введена. |
Код WC_Email::get_additional_content() WC Email::get additional content WC 9.2.3
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->object, $this ); }