fluentform_verify_user_permission_{ $eachPermission}

Description  #

This filter verifies each permission. You can hook into specific permission and return false.

apply_filters('fluentform_verify_user_permission_' . $eachPermission, $allowed, $formId);

Usage   #

add_filter('fluentform_verify_user_permission_'.$permission, function ($allowed) {
     return false;

Parameters #

  • $allowed (boolean) Status
  • $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/Acl/RoleManager.php

Powered by BetterDocs

Leave a Reply

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