-
Notifications
You must be signed in to change notification settings - Fork 261
Admin column display
scribu edited this page Dec 30, 2012
·
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:
p2p_register_connection_type( array(
...
'admin_column' => 'any'
) );
Possible values:
-
'any'
- show admin columns everywhere: -
'from'
- show the admin column only on the 'from' end -
'to'
- show the admin column only on the 'to' end -
false
- don't show admin columns at all (default)