Add custom column to the Members List table

Using custom code, the Members List table from Paid Member Subscriptions can be extended to show extra columns with arbitrary data.

This can be achieved using some custom code:Array

The first function adds the column while the second one adds the data that will be displayed in it. This is just an example, so make sure you change the column and usermeta field slug.

In the first function, if you re-arrange the items from the $columns array, you can control in which order the columns are displayed.

Paid Member Subscriptions Pro

Accept (recurring) payments, create subscription plans and restrict content on your website. Easily setup a WordPress membership site using Paid Member Subscriptions.

Unlock PRO Features

Or download FREE version