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

  • Resolved Lukasz

    (@wpfed)


    Hi,

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

    Thanks.

    • This topic was modified 1 year, 8 months ago by Lukasz.
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)
  • The topic ‘Filter to remove templates button?’ is closed to new replies.