PHP Class MC4WP_Contact_Form_7_Integration

Inheritance: extends MC4WP_Integration
Datei anzeigen Open project: dannyvankooten/mailchimp-for-wordpress

Public Properties

Property Type Description
$description string
$name string

Public Methods

Method 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 method

Add hooks
public add_hooks ( )

alter_cf7_data() public method

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
return array

checkbox_was_checked() public method

public checkbox_was_checked ( ) : boolean
return boolean

get_ui_elements() public method

Since: 3.0
public get_ui_elements ( ) : array
return array

init() public method

Registers the CF7 shortcode
public init ( ) : boolean
return boolean

is_installed() public method

public is_installed ( ) : boolean
return boolean

process() public method

Subscribe from Contact Form 7 Forms
public process ( WPCF7_ContactForm $cf7_form ) : boolean
$cf7_form WPCF7_ContactForm
return boolean

shortcode() public method

Return the shortcode output
public shortcode ( $args = [] ) : string
return string

Property Details

$description public_oe property

public string $description
return string

$name public_oe property

public string $name
return string