Mailchimp extends MC4WP_Integration

MC4WP plugin integration.

Table of Contents

$name  : string
Integration name.
add_checkbox()  : array<string|int, mixed>
Adds subscription checkbox.
add_hooks()  : mixed
Adds integration hooks.
get_ui_elements()  : array<string|int, mixed>
Gets UI elements.
is_installed()  : bool
Checks if integration is enabled.
subscribe_user()  : mixed
Subscribes user.

Properties

Methods

add_checkbox()

Adds subscription checkbox.

public add_checkbox(array<string|int, mixed> $form) : array<string|int, mixed>
Parameters
$form : array<string|int, mixed>

Form arguments.

Return values
array<string|int, mixed>

subscribe_user()

Subscribes user.

public subscribe_user(int $user_id, array<string|int, mixed> $values) : mixed
Parameters
$user_id : int

User ID.

$values : array<string|int, mixed>

User values.

Return values
mixed