-
-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
As most of the roots sage fans do, we write a lot of acf builder fields. Wouldn't it be interesting to have some snippets to complement the cheatsheet and thus write it faster?
As an example I have:
"ACFB textarea": {
"prefix": "ata",
"body": [
"->addTextarea('$1', ['label' => '${2:$1}', 'new_lines' => 'br', 'rows' => '${3:2}'])$0",
],
"description": "Textarea ACF Builder"
},Or:
"ACFB group": {
"prefix": "agr",
"body": [
"->addGroup('$1')",
" $0",
" ->endGroup()"
],
"description": "Group ACF Builder"
},MichaelLambrechts, schmidtsonian, pimpiet and Filippo-Bonesso
Metadata
Metadata
Assignees
Labels
No labels