Quelle: ...hier gehts weiter
Verwendet in: dieser Seite
Beschreibung:
Eintrag in die functions.php
Möglichkeit 1
/*keep flexible content blocks closed */
function my_acf_admin_head() {
?>
<script type="text/javascript">
(function($){
$(document).ready(function(){
$( ".-collapse" ).each(function( index ) {
$( this ).click();
});
});
})(jQuery);
</script>
<?php
}
add_action('acf/input/admin_head', 'my_acf_admin_head');