Support » Plugin: Gutenberg Template Library & Redux Framework » Filter to remove templates button?

  • Resolved Luke

    (@wpfed)


    Hi,

    Wondering if there is a filter to remove the templates button(redux-templates-insert-library-button)?

    Thanks.

    • This topic was modified 5 months, 2 weeks ago by Luke.
Viewing 1 replies (of 1 total)
  • Plugin Support mohammedeisa

    (@mohammedeisa)

    Unfortunately, this button can’t be hidden using a filter from Redux. Alternatively, you can custom CSS to hide it.
    The following code should hide the Redux button.

    
    function hide_redux_button() {
      echo '<style>
     .redux-templates-insert-library-button {display: none;} 
      </style>';
    }
    add_action('admin_head', 'hide_redux_button');
    
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.