Saltar navegación

[Resuelto] Disabling toolset buttons in gutenburg

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

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 hace 4 años, 7 meses. 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 -

Zona horaria del colaborador: Asia/Hong_Kong (GMT+08:00)

Etiquetado: 

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por mikeH-3 hace 4 años, 7 meses.

Asistido por: Luo Yang.

Autor
Mensajes
#1878657

How do I disable these icons in the classic block? enlace oculto 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!