Filter tables list
-
Hi.
I have a task: I need to give access to contributor to creating tables. I used default caps for this: tablepress_list_tables, tablepress_add_tables, tablepress_delete_tables.Contributors can delete own tables and tables created from other users. It’s not safety I think.
So I need to get contributors access to delete only own tables.I decided to solve my problem by filtering tables list in menu “All Tables”. So contributor wouldn’t see tables created other users, so he couldn’t delete them.
Help me to find hook (filter) responsible for list tables. Or we have any solution to fix this safety problem?
Thanks.The page I need help with: [log in to see the link]
- The topic ‘Filter tables list’ is closed to new replies.