%PDF- %PDF-
Direktori : /var/www/html/qendrasteps/wp-content/themes/tm-heli/core/kirki/docs/docs/arguments/ |
Current File : /var/www/html/qendrasteps/wp-content/themes/tm-heli/core/kirki/docs/docs/arguments/kirki_config.md |
--- layout: default title: kirki_config published: false mainMaxWidth: 50rem; --- The `kirki_config` argument is used internally to assign a configuration to your fields. You don't have to manually set it since it's automatically set when you create your field. Example: ```php <?php Kirki::add_field( 'my_config', array( 'type' => 'text', 'settings' => 'my_setting', 'label' => __( 'Text Control', 'my_textdomain' ), 'section' => 'my_section', 'default' => esc_attr__( 'This is a defualt value', 'my_textdomain' ), 'priority' => 10, ) ); ?> ``` In the above example, the `kirki_config` argument is automatically set to `my_config`.