add view column to dashboard
-
I want to add a product visit column in the dashboard
What code should I use?function edd_download_columns( $download_columns ) {
$category_labels = edd_get_taxonomy_labels( ‘download_category’ );
$tag_labels = edd_get_taxonomy_labels( ‘download_tag’ );$download_columns = array(
‘cb’ => ‘<input type=”checkbox”/>’,
‘title’ => __( ‘Name’, ‘easy-digital-downloads’ ),
‘download_category’ => $category_labels[‘menu_name’],
‘download_tag’ => $tag_labels[‘menu_name’],
‘price’ => __( ‘Price’, ‘easy-digital-downloads’ ),
‘sales’ => __( ‘Sales’, ‘easy-digital-downloads’ ),
‘earnings’ => __( ‘Earnings’, ‘easy-digital-downloads’ ),
‘date’ => __( ‘Date’, ‘easy-digital-downloads’ )
view
);`return apply_filters( ‘edd_download_columns’, $download_columns );
}Please tell me the necessary codes
like this pic
https://pasteboard.co/JhxYilV.jpg
- The topic ‘add view column to dashboard’ is closed to new replies.