Description #
This filter returns permission sets for fluent forms. You can add or modify permission sets using this filter.
apply_filters('fluentform/permission_set', $permissionSet);
Usage #
add_filter('fluentform/permission_set', function ($permissionSet) {
return $permissionSet;
});
Parameters #
- $permissionSet (array) Permission Sets
Placement #
This code should be placed in the functions.php file of your active theme.
Source Code #
This filter is located in FluentForm\App\Modules\Acl -> getPermissionSet()