PHP Class Kirki_Explode_Background_Field, kirki

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

Méthodes publiques

Méthode Description
background_choices ( ) : array>\array The background choices.
explode ( array $field ) : null | array Build the background fields.
process_fields ( array $fields ) : array Parse all fields and add the new background fields

Method Details

background_choices() public static méthode

The background choices.
public static background_choices ( ) : array>\array
Résultat array>\array

explode() public static méthode

Takes a single field with type = background and explodes it to multiple controls.
public static explode ( array $field ) : null | array
$field array The field arguments.
Résultat null | array

process_fields() public static méthode

Parse all fields and add the new background fields
public static process_fields ( array $fields ) : array
$fields array An array of all the generated fields.
Résultat array