Parses and sanitizes all field arguments.
Then it adds the field to Kirki::$fields.
public __construct ( string $config_id = 'global', array $args = [] ) | ||
$config_id | string | The ID of the config we want to use. Defaults to "global". Configs are handled by the Kirki_Config class. |
$args | array | The arguments of the field. |