WordPress requires you to define a sanitize_callback for every option you create, which is a great for security purposes.

In Kirki depending on the control-type you’re using we’re automatically setting a sanitize_callback for all your fields so you don’t have to.

However, in case you want to override the default sanitization you can enter a callable function or method here. If you use a function then you must set this value to a string (the function name) and if you use a method then you must set this to an array. (example: [ $object, $method_name ]).

Licence

Kirki is licenced under the MIT Licence. It is 100% open-souce and you can use it on your projects.

Though not legally necessary, we would appreciate if you mention in your project's page that use Kirki and link to this project.

Support

Support is provided from the github repository. Though we do our best to reply to everyone in a timely manner and address any questions or issues you might have, keep in mind that Kirki is an open-source project maintained by people donating hundreds of hours.