PHP Class MC4WP_WooCommerce_Integration

Inheritance: extends MC4WP_Integration_Base
Exibir arquivo Open project: dannyvankooten/mailchimp-for-wordpress

Public Properties

Property Type Description
$description string
$name string

Public Methods

Method Description
add_hooks ( ) Add hooks
get_object_link ( $object_id ) : string
is_installed ( ) : boolean
save_woocommerce_checkout_checkbox_value ( integer $order_id )
subscribe_from_woocommerce_checkout ( integer $order_id ) : boolean
triggered ( $order_id = null ) : boolean | mixed

Protected Methods

Method Description
get_default_options ( ) : array Add default value for "position" setting

Method Details

add_hooks() public method

Add hooks
public add_hooks ( )

get_default_options() protected method

Add default value for "position" setting
protected get_default_options ( ) : array
return array

is_installed() public method

public is_installed ( ) : boolean
return boolean

save_woocommerce_checkout_checkbox_value() public method

subscribe_from_woocommerce_checkout() public method

public subscribe_from_woocommerce_checkout ( integer $order_id ) : boolean
$order_id integer
return boolean

triggered() public method

public triggered ( $order_id = null ) : boolean | mixed
$order_id
return boolean | mixed

Property Details

$description public_oe property

public string $description
return string

$name public_oe property

public string $name
return string