Skip Navigation

[Resolved] Disabling toolset buttons in gutenburg

This thread is resolved. Here is a description of the problem and solution.

Problem:

How do I disable Toolset buttons in the classic block? I don't want my admins seeing these or using them at all, in this block in particular but really, any block.

Solution:

Please try filter hook "toolset_editor_add_form_buttons", like this:

https://toolset.com/forums/topic/disabling-toolset-buttons-in-gutenburg/#post-1878999

Relevant Documentation:

This support ticket is created 4 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by mikeH-3 4 years ago.

Assisted by: Luo Yang.

Author
Posts
#1878657

How do I disable these icons in the classic block? hidden link I don't want my admins seeing these or using them at all, in this block in particular but really, any block.

I tried this https://toolset.com/forums/topic/disable-types-fields-in-gutenberg-blocks/ but it didn't seem to apply to the core/freeform block at all.

#1878999

Hello,

Please try filter hook "toolset_editor_add_form_buttons", like this:

add_action('toolset_editor_add_form_buttons', function() {
    return false;
} );
#1879327

My issue is resolved now. Thank you!