Collapse Advanced Custom Fields Repeater by default

How to make ACF repeater fields more readable? This function will collapse repeater fields by default:

* Collapse ACF Repeater by default
add_action(‘acf/input/admin_head’, ‘wpster_acf_repeater_collapse’);
function wpster_acf_repeater_collapse() {


  1. Great code ! Working like a charm !
    One more question : how authorize only One Tab Open ?

    Thanks a lot

  2. Great stuff, got sick of scrolling all the time!


Leave a Reply to Andrew Schultz Cancel reply

Your email address will not be published. Required fields are marked *