Home Forums Front-end Issues Gallery field Front end role user Reply To: Gallery field Front end role user

  • Even if you use a gallery field the images will stay in the media library when removed from the gallery. To avoid this in either case you would need to create a filter that removed files no longer present in the fields and you’d need to compare the old values of the field with the new values to figure out what media needs to be deleted. For a front end form this could be done in an acf/pre_save_post filter.