Add blank option in staff details

This commit is contained in:
Brian Miyaji
2014-10-13 17:02:37 +11:00
parent 33ecd1e3a4
commit 42dc93c367
2 changed files with 5 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ class SP_Meta_Box_Staff_Details {
'name' => 'sp_role',
'selected' => $role,
'values' => 'term_id',
'show_option_blank' => true,
'placeholder' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Role', 'sportspress' ) ),
'class' => 'widefat',
'chosen' => true,