PHP Class MC4WP_Field_Formatter

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

Méthodes publiques

Méthode 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 méthode

public address ( mixed $value ) : array
$value mixed
Résultat array

birthday() public méthode

public birthday ( mixed $value ) : string
$value mixed
Résultat string

boolean() public méthode

public boolean ( mixed $value ) : boolean
$value mixed
Résultat boolean

date() public méthode

public date ( mixed $value ) : string
$value mixed
Résultat string

language() public méthode

public language ( string $value ) : string
$value string
Résultat string