Search results for ""

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

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.


2 years, 11 months ago
Stefan van den Dungen Gronovius

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.

2 years, 11 months ago

You must be logged in to reply to this topic.