Dynamic Column Value
Hey there,
I’m wondering if it’s possible to create a custom column where I can calculate a value for a quick overview in the table view of the admin.
I found topics including ac_register_columns
. Not sure if this is right, but when checking the source code quickly this method was removed anyway.
My detailed problem:
I have a repeater ACF field with multiple ratings (subsets). Out of these, there’s an average “main” rating calculated and used in the front end. In the table view, I would like to show that average as well. Is there a possibility to create such a dynamic field within Admin Columns?
I could create a new meta field to kind of cache that value and always update in on save of the post. But this is kind of ugly. A useless value in the database that could be outdated.
Thanks for your help and cheers
You must be logged in to reply to this topic.