Description  #

This filter checks the permission callback status. You can check the current permission and change the permission status.

apply_filters('fluentform_permission_callback', false, $permission, $formId);

Usage   #

add_filter('fluentform_permission_callback', function($status, $permission, $formId){
  return false;
}, 10, 3);

Parameters #

  • $status (boolean) Status
  • $permission (string) Permission Name
  • $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/Acl.php

Powered by BetterDocs

Leave a Reply

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