-
Notifications
You must be signed in to change notification settings - Fork 12
Reference
Jörn Lund edited this page Aug 31, 2018
·
3 revisions
Fires after a repeater row has been duplicated.
$(document).on('acf_duplicated_row',function(e){
var $source = $(event.target), // the source row
$clone = event.destination; // the copied row
// do something ...
});
Fires after a flexible content layout has been duplicated.
$(document).on('acf_duplicated_layout',function( event ){
var $source = $(event.target), // the source row
$clone = event.destination; // the copied row
// do something ...
});
Fires on each duplicated field before the value are copied from the source field.
See also: Third Party Fields
Fires on each duplicated field after the value were copied from the source field.