Skip to content

Admin column display

scribu edited this page Dec 3, 2011 · 7 revisions

Below are examples of values you can pass when registering a connection type to control where columns are added when viewing lists of posts in the admin:

Don't show admin columns at all (default):

'admin_column' => false

Show admin columns everywhere:

'admin_column' => 'any'

Show the admin column only on the 'from' end:

'admin_column' => 'from'

Show the admin column only on the 'to' end:

'admin_column' => 'to'
Clone this wiki locally