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){
return false;
}, 10, 2);
Parameters #
- $status (boolean) Status
- $permission (string) Permission Name
Placement #
This code should be placed in the functions.php file of your active theme.
Source Code #
This filter is located in FluentForm\app\Hooks\filters.php