• Resolved riadev

    (@riadev)


    Hi there,

    First off, thanks for creating such an excellent forms plugin integrating into Gutenberg.

    Version 2.1.0 introduced the Extendify template and pattern library. Would it be possible to add a hook to disable this addition? I build websites for clients and strive for as clean an editor interface as possible; this pattern library addition is unneeded, and feels beyond the scope of a forms plugin. I know I can hide the button with CSS, but would prefer a solution that removes it entirely (especially since the button ID may be changed in a future update, so having a hook within the plugin to remove this would be key for future compatibility).

    I would love it if the Extendify template/pattern library was removed entirely (and added to a separate plugin), but understand if that’s not something you will consider. Part of what I loved about this plugin when I found it was that it did one thing (forms) and did it well; expanding the scope to include pattern libraries might mean I can no longer recommend this plugin as a solution for my clients.

    Thanks again for the excellent work y’all have done on creating this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @riadev – sorry for the delayed reply.

    I completely understand if the library isn’t useful to you it would be nice to remove it from the editor.

    We have two options for doing so:

    1) If you click the preferences button (the three dots in the upper right corner of the editor), you will see an option ‘Disable Extendify’ in the Plugins section. This will disable the library for whichever user selects it.

    2) Alternatively, you can add the below as a mu-pluin that will disable Extendify for all users of the site.

    add_filter('extendifysdk_load_library', '__return_false');

    Let us know if you have any other questions!`

    Thread Starter riadev

    (@riadev)

    This is incredibly helpful—thanks so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable Extendify template and pattern library?’ is closed to new replies.