scribu/wp-posts-to-posts — pull request #400 by GaryJones (2013-11-04 21:46:05+00:00)
Title: Add support for dropdown filter default option text

Add support for dropdown filter default option text, just like column headings.

Use 'dropdown_title' as the from / to label key:

~~~php
p2p_register_connection_type( array(
...
'from' => 'actor',
'to' => 'movie',
'admin_column' => 'any',
'from_labels' => array(
'dropdown_title' => 'Connected Actors',
...
),
'to_labels' => array(
'dropdown_title' => 'Connected Movies',
...
),
) );
~~~