PHP Class MC4WP_Field_Formatter

Formats values based on what the MailChimp API expects or accepts for the given field types.
Datei anzeigen Open project: dannyvankooten/mailchimp-for-wordpress Class Usage Examples

Public Methods

Method Description
address ( mixed $value ) : array
birthday ( mixed $value ) : string
boolean ( mixed $value ) : boolean
date ( mixed $value ) : string
language ( string $value ) : string

Method Details

address() public method

public address ( mixed $value ) : array
$value mixed
return array

birthday() public method

public birthday ( mixed $value ) : string
$value mixed
return string

boolean() public method

public boolean ( mixed $value ) : boolean
$value mixed
return boolean

date() public method

public date ( mixed $value ) : string
$value mixed
return string

language() public method

public language ( string $value ) : string
$value string
return string