Add Event ID column
-
Hi,
great plugin!
I’m trying to add just the Event ID column (not filter, only column).
I added this in my Child Theme functions.php:add_action('tribe_cpt_filters_after_init', 'events_custom_column', 1); function events_custom_column($obj) { $my_col['ecp_id'] = array('name' => 'ID', 'custom_type' => 'ID', 'sortable' => 'false'); $obj->columns->add_columns($my_col); }But I cannot understand how to show ID values, it only shows ID header… even key ‘custom_type’ nor ‘meta’ works.
Can you please help me with that? Your documentation is about filtering not adding columns.
thank you
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Add Event ID column’ is closed to new replies.