Skip to content

{your_field} Support

Jörn Lund edited this page Aug 31, 2018 · 2 revisions

Support {your_field}: {your_field_plugin_url}

$(document).on('acf_duplicate:{your_field_type}', function(e){
    var $src = $(e.target),
        $dest = e.destination;

    // get all values from $src ...

    // ... and update them in $dest

    e.preventDefault();
});
Clone this wiki locally