Log1x / acf-composer

Compose ACF Fields, Blocks, Widgets, and Option Pages with ACF Builder on Sage 10.
https://github.com/Log1x/acf-composer
MIT License
398 stars 53 forks source link

Using Custom Field Type Aliases #217

Closed mike-sheppard closed 4 months ago

mike-sheppard commented 4 months ago

hey @Log1x tried using addEditorPalette('my_field') but get a no function exists error.

Steps

  1. Updated ACF config wp acorn vendor:publish --tag="acf-composer"
  2. Uncommented 'editorPalette' => 'editor_palette', in acf.php config
  3. Generated the IDE helpers wp acorn acf:ide-helpers
  4. Replaced a field to test
    - ->addField('footer_text', 'editor_palette')
    + ->addEditorPalette('footer_text')

Error

No such function: addEditorPalette

Am I missing a piece of the puzzle?

Notes

advanced-custom-fields-pro & log1x/acf-editor-palette are installed as mu-plugins

Log1x commented 4 months ago

😓

mike-sheppard commented 4 months ago

whey! 🎉 all good now (since v3.0.13), thanks! 🙌