PHP Class Kirki_Explode_Background_Field, kirki

Inheritance: extends Kirki_Field_Sanitize
Mostrar archivo Open project: aristath/kirki Class Usage Examples

Public Methods

Method 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 method

The background choices.
public static background_choices ( ) : array>\array
return array>\array

explode() public static method

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.
return null | array

process_fields() public static method

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.
return array