Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
sales5

Programmatically assign Column Set to User / Role

Hi !

How can I assign a columns set to a user for a given post_type programmatically?
I imagine it’s possible to hook on save to do this.
How can I manage that.

Thanks
fran

4 months, 1 week ago
Stefan
Developer

Hi Fran,

Can you tell me a bit more about your use case?
Are you trying to change the roles on run-time, change the roles for an existing column set on save (as I understand it right now), or just want to change the roles for existing columns set afterwards. There are not really hooks available to change that. If you’re using the Local Storage feature to store all sets in PHP, you can ‘simply’ change the PHP files and add the desired roles to the array.

4 months, 1 week ago

You must be logged in to reply to this topic.