PHP Class Kirki_Values, kirki

Afficher le fichier Open project: aristath/kirki Class Usage Examples

Méthodes publiques

Méthode Description
get_sanitized_field_value ( array $field ) : string | array Gets the value or fallsback to default.
get_value ( string $config_id = '', string $field_id = '' ) : string | array Get the value of a field.

Method Details

get_sanitized_field_value() public static méthode

Gets the value or fallsback to default.
public static get_sanitized_field_value ( array $field ) : string | array
$field array The field aruments.
Résultat string | array

get_value() public static méthode

Get the value of a field.
public static get_value ( string $config_id = '', string $field_id = '' ) : string | array
$config_id string The configuration ID. @see Kirki_Config.
$field_id string The field ID.
Résultat string | array