Description  #

This filter checks if the attachments should be deleted. You can toggle this using the filter.

apply_filters('fluentform_disable_attachment_delete', false, $formId);

Usage   #

add_filter('fluentform_disable_attachment_delete', function($formId) {
    return false;

Parameters #

  • $formId (int) Form ID

Placement #

This code should be placed in the functions.php file of your active theme.

Source Code #

This filter is located in app/Modules/Entries/Entries.php

Powered by BetterDocs

Leave a Reply

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