PHP Class MC4WP_Contact_Form_7_Integration

Inheritance: extends MC4WP_Integration
Afficher le fichier Open project: dannyvankooten/mailchimp-for-wordpress

Méthodes publiques

Свойство Type Description
$description string
$name string

Méthodes publiques

Méthode Description
add_hooks ( ) Add hooks
alter_cf7_data ( array $data = [] ) : array Alter Contact Form 7 data.
checkbox_was_checked ( ) : boolean
get_object_link ( integer $object_id ) : string
get_ui_elements ( ) : array
init ( ) : boolean Registers the CF7 shortcode
is_installed ( ) : boolean
process ( WPCF7_ContactForm $cf7_form ) : boolean Subscribe from Contact Form 7 Forms
shortcode ( $args = [] ) : string Return the shortcode output

Method Details

add_hooks() public méthode

Add hooks
public add_hooks ( )

alter_cf7_data() public méthode

Adds mc4wp_checkbox to post data so users can use mc4wp_checkbox in their email templates
public alter_cf7_data ( array $data = [] ) : array
$data array
Résultat array

checkbox_was_checked() public méthode

public checkbox_was_checked ( ) : boolean
Résultat boolean

get_ui_elements() public méthode

Since: 3.0
public get_ui_elements ( ) : array
Résultat array

init() public méthode

Registers the CF7 shortcode
public init ( ) : boolean
Résultat boolean

is_installed() public méthode

public is_installed ( ) : boolean
Résultat boolean

process() public méthode

Subscribe from Contact Form 7 Forms
public process ( WPCF7_ContactForm $cf7_form ) : boolean
$cf7_form WPCF7_ContactForm
Résultat boolean

shortcode() public méthode

Return the shortcode output
public shortcode ( $args = [] ) : string
Résultat string

Property Details

$description public_oe property

public string $description
Résultat string

$name public_oe property

public string $name
Résultat string