Add columns to Admin > Theater > Events table
-
Hi Jeroen,
I’m trying to add two extra columns to the Theater Events table in Admin.
I think I should be using
manage_${post_type}_posts_columns
. However, I can’t seem to make it work for thewp_theatre_prod
custom post type when I add it to the functions file for my child theme.I notice that in theatre/functions/wpt_admin.php there is a function
manage_wp_theatre_prod_posts_columns
that adds the ‘thumbnail’ and ‘dates’ colums to the events table. Is the reason I can’t make it work in my theme functions file because it’s already used in wpt_admin.php? I can’t see any way of adding additional filters that will allow me to add my own columns.Do you know if there’s any way to change the columns displayed on the Theater Events table in Admin and add new ones?
If it’s possible, I’d be very grateful if you could point me in the right direction.
Thanks,
Chris
- The topic ‘Add columns to Admin > Theater > Events table’ is closed to new replies.