Skip to content

Commit

Permalink
Update example comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkla committed Aug 29, 2018
1 parent f01792b commit b30f5c9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ acf_textarea([
'name' => 'biography',
'label' => 'Biography',
'instructions' => 'Add the employees biography.',
'new_lines' => 'br',
'new_lines' => 'br', // br or wpautop
'required' => true,
'rows' => 3,
]);
Expand Down Expand Up @@ -563,10 +563,10 @@ acf_taxonomy([
'label' => 'Cinemas',
'instructions' => 'Select one or more cinema terms.',
'taxonomy' => 'cinema',
'field_type' => 'checkbox', // checkbox, multi_select, radio or select
'add_term' => true, // allow new terms to be created whilst editing
'save_terms' => false, // connect selected terms to the post
'load_terms' => false, // load value from posts terms
'field_type' => 'checkbox', // Checkbox, multi_select, radio or select
'add_term' => true, // Allow new terms to be created whilst editing
'save_terms' => false, // Connect selected terms to the post
'load_terms' => false, // Load value from posts terms
'return_format' => 'id', // id or object
]);
```
Expand Down

0 comments on commit b30f5c9

Please sign in to comment.