Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Add an extra column to the payments page

$
0
0

Replies: 0

Hi there,

I added the details to the payments column and thought this might be a much wanted feature when someone sells more than one type of product.

It is unclear what is sold until you open the payment-details page.
In wp-content/plugins/paytium/includes/class-pt-post-types.php at line 185 I added:
$columns['details'] = __( 'Details', 'paytium' );
and on line 226 I added:

            case 'details' :
                echo $payment->get_description();
                break;

Works like a charm.

Greetings and thanks!


Viewing all articles
Browse latest Browse all 59525

Trending Articles