Class WC_Email_New_Order

New Order Email

An email sent to the admin when a new order is received/paid for.

WC_Settings_API
Extended by WC_Email
Extended by WC_Email_New_Order
Package: WooCommerce\Classes\Emails
Author: WooThemes
Version: 2.0.0
Class: WC_Email_New_Order
Extends: WC_Email
Located at includes/emails/class-wc-email-new-order.php

Methods summary

public
# __construct( )

Constructor

Constructor

Overrides

WC_Email::__construct
public
# trigger( mixed $order_id )

trigger function.

trigger function.

public string
# get_content_html( )

get_content_html function.

get_content_html function.

Returns

string

Overrides

WC_Email::get_content_html
public string
# get_content_plain( )

get_content_plain function.

get_content_plain function.

Returns

string

Overrides

WC_Email::get_content_plain
public
# init_form_fields( )

Initialise Settings Form Fields

Initialise Settings Form Fields

Overrides

WC_Email::init_form_fields

Methods inherited from WC_Email

admin_options(), format_string(), get_attachments(), get_blogname(), get_content(), get_content_type(), get_email_type(), get_from_address(), get_from_name(), get_headers(), get_heading(), get_option(), get_recipient(), get_style_inline_for_tag(), get_style_inline_tags(), get_subject(), handle_multipart(), is_enabled(), process_admin_options(), send(), style_inline(), style_inline_a_tag(), style_inline_h1_tag(), style_inline_h2_tag(), style_inline_h3_tag(), style_inline_img_tag(), style_inline_tags()

Methods inherited from WC_Settings_API

display_errors(), format_settings(), generate_checkbox_html(), generate_decimal_html(), generate_multiselect_html(), generate_password_html(), generate_price_html(), generate_select_html(), generate_settings_html(), generate_text_html(), generate_textarea_html(), generate_title_html(), get_custom_attribute_html(), get_description_html(), get_form_fields(), get_tooltip_html(), init_settings(), validate_checkbox_field(), validate_decimal_field(), validate_multiselect_field(), validate_password_field(), validate_price_field(), validate_select_field(), validate_settings_fields(), validate_text_field(), validate_textarea_field()

Magic methods summary

Properties summary

Properties inherited from WC_Email

$description, $enabled, $find, $heading, $id, $mime_boundary, $mime_boundary_header, $object, $plain_replace, $plain_search, $recipient, $replace, $sending, $subject, $template_base, $template_html, $template_plain, $title

Properties inherited from WC_Settings_API

$errors, $form_fields, $plugin_id, $sanitized_fields, $settings

WooCommerce API documentation generated by ApiGen 2.8.0