PHP Class MC4WP_Integration_Tags

Datei anzeigen Open project: dannyvankooten/mailchimp-for-wordpress Class Usage Examples

Protected Properties

Property Type Description
$integration MC4WP_Integration
$tags MC4WP_Dynamic_Content_Tags

Public Methods

Method Description
__construct ( ) Constructor
add_hooks ( ) Add hooks
get_subscriber_count ( ) : integer Returns the number of subscribers on the selected lists (for the form context)
register ( array $tags ) : array Register dynamic content tags for integrations
replace ( string $string, MC4WP_Integration $integration ) : string

Method Details

__construct() public method

Constructor
public __construct ( )

add_hooks() public method

Add hooks
public add_hooks ( )

get_subscriber_count() public method

Returns the number of subscribers on the selected lists (for the form context)
public get_subscriber_count ( ) : integer
return integer

register() public method

Register dynamic content tags for integrations
public register ( array $tags ) : array
$tags array
return array

replace() public method

public replace ( string $string, MC4WP_Integration $integration ) : string
$string string
$integration MC4WP_Integration
return string

Property Details

$integration protected_oe property

protected MC4WP_Integration $integration
return MC4WP_Integration

$tags protected_oe property

protected MC4WP_Dynamic_Content_Tags $tags
return MC4WP_Dynamic_Content_Tags