Restrict the specified user from being able to see the folder and its contents
-
Hello,
I should have the following functionality on the site: the site consists of a customer site and another microsite located on the same domain. I want to restrict customer site users from seeing microsite content and vice versa. I tried using filters, but it didn’t work.
in functions.php:
apply_filters( 'wf_collection_policy_can_view', $allowed, $folder_id, $user_id, $this )
apply_filters( 'wf_collection_policy_can_view', false, (i got folder id when inspecting element data-folder-id), (should I get id with this function "get_current_user_id()"?), What should I pass on here? )
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Restrict the specified user from being able to see the folder and its contents’ is closed to new replies.