Adjust officials table in events

This commit is contained in:
Brian Miyaji
2017-11-09 14:04:49 +11:00
parent 0c06fe656a
commit 62bee2e482
3 changed files with 66 additions and 38 deletions

View File

@@ -23,6 +23,7 @@ class SP_Meta_Box_Event_Officials {
$duties = get_terms( array(
'taxonomy' => 'sp_duty',
'hide_empty' => false,
'orderby' => 'slug',
) );
$officials = (array) get_post_meta( $post->ID, 'sp_officials', true );