Filter: tcp custom columns definition

Description

The “tcp_custom_columns_definition” filter is used to add or remove columns in the back-end products lists.

Example

<?php

function my_tcp_custom_columns_definition( $columns ) {
    $columns['new_field'] = 'New field label';
    return $columns;
}
add_filter( 'tcp_custom_columns_definition', 'my_tcp_custom_columns_definition' ); ?>

Change Log

Since 1.0.8

Related

tcp_manage_posts_custom_column