Support

Account

Home Forums Front-end Issues Disable duplicate layout button Reply To: Disable duplicate layout button

  • Can can either use CSS to hide the button or you could possibly add custom javascript to remove the button completely.

    
    (function($){
      if (typeof(acf) == 'undefined') {
        return;
      }
      acf.add_action('ready append', function(e){
        $('a.acf-icon.-duplicate').remove();
      });
    })(jQuery);