WooCommerce Multiple Email Recipients

Fields_Service implements Premium_Service, Registerable

Provide additional email at different places depend on the settings

Tags
author

Barn2 Plugins info@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Table of Contents

Interfaces

Premium_Service
Registerable

Properties

$fields_manager  : Fields_Manager
$plugin  : Plugin

Methods

__construct()  : mixed
Abstract_Email_Provider constructor.
add_account_emails()  : mixed
add_admin_user_profile_emails()  : array<string|int, mixed>
add_email_fields_to_blocks_checkout()  : mixed
add_frontend_emails()  : array<string|int, mixed>
register()  : mixed
save_fields_from_order_post()  : mixed
Store the additional recipients as order metadata
save_fields_from_user_post()  : mixed
Store additional emails in the user account (customer billing address)

Properties

Methods

add_admin_user_profile_emails()

public add_admin_user_profile_emails(array<string|int, mixed> $fields) : array<string|int, mixed>
Parameters
$fields : array<string|int, mixed>
Return values
array<string|int, mixed>

add_email_fields_to_blocks_checkout()

public add_email_fields_to_blocks_checkout() : mixed

add_frontend_emails()

public add_frontend_emails(array<string|int, mixed> $fields) : array<string|int, mixed>
Parameters
$fields : array<string|int, mixed>
Return values
array<string|int, mixed>

save_fields_from_order_post()

Store the additional recipients as order metadata

public save_fields_from_order_post(WC_Order $order) : mixed

In addition to attaching the additional email addresses to the order as metadata it also saves them as additional emails for the user who placed the order

Parameters
$order : WC_Order

save_fields_from_user_post()

Store additional emails in the user account (customer billing address)

public save_fields_from_user_post(int $user_id) : mixed
Parameters
$user_id : int
Tags
since
1.2.4

        
On this page

Search results