Skip to content

Commit

Permalink
📝 Add a section on field builder usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x committed Oct 7, 2024
1 parent 99df363 commit ba0d0bc
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,17 @@ class ExampleField extends Field
}
```

Proceed by checking the `Add Post` for the field to ensure things are working as intended – and then [get to work](https://github.com/Log1x/acf-builder-cheatsheet).
Proceed by checking the `Add Post` for the field to ensure things are working as intended.

### Field Builder Usage

To assist with development, ACF Composer comes with a `usage` command that will let you search for registered field types. This will provide basic information about the field type as well as a usage example containing all possible options.

```sh
$ wp acorn acf:usage
```

For additional usage, you may consult the [ACF Builder Cheatsheet](https://github.com/Log1x/acf-builder-cheatsheet).

### Generating a Field Partial

Expand Down

0 comments on commit ba0d0bc

Please sign in to comment.