How to get Value for “Root Path for this User Role”?
-
Hello again,
I am working on getting your Plugin to understand Ultimate Members User Roles better ?? It does already, but one thing I need to know:
On Settings -> User Role Restrictions, I can see and change “Root Path for this User Role”. I need this value for another PHP script, because I must match the Directory to the User Role.
When searching the Database, I see one Field in wp_options: njt_fs_settings, and this contains all stored Information within a serialized String.
Of course I could try to split that string and somehow make my way……but maybe there is a better method to get the root Path for a certain User Role?
Tried $arrRestrictions[$firstKeyRestrictions][‘private_folder_access’], but it returns nothing…
Thanks!
- The topic ‘How to get Value for “Root Path for this User Role”?’ is closed to new replies.