Skip to content

Commit

Permalink
Apply WordPress Coding Standards
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Mar 14, 2018
1 parent 937f68e commit 2c49b64
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/docs/advanced/kirki-helper-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,14 @@ Example:

```php
add_action( 'init', function() {
Kirki::add_field( 'my_settings', array(
'type' => 'select',
'settings' => 'my_setting',
'label' => __( 'This is the label', 'my_textdomain' ),
'section' => 'title_tagline',
'default' => '',
'priority' => 10,
'choices' => Kirki_Helper::get_terms( 'product_cat' ),
Kirki::add_field( 'my_settings', array(
'type' => 'select',
'settings' => 'my_setting',
'label' => __( 'This is the label', 'my_textdomain' ),
'section' => 'title_tagline',
'default' => '',
'priority' => 10,
'choices' => Kirki_Helper::get_terms( 'product_cat' ),
) );
});
} );
```

0 comments on commit 2c49b64

Please sign in to comment.