Add hook to add more information on player names

After the player name in the list of selected players in an event.
This commit is contained in:
savvasha
2017-12-10 22:26:02 +02:00
committed by GitHub
parent a02e1034c8
commit e5f98ff380

View File

@@ -405,6 +405,7 @@ class SP_Meta_Box_Event_Performance {
<?php } ?>
<td>
<?php echo get_the_title( $player_id ); ?>
<?php do_action ( 'sportspress_event_selected_players' ); ?>
<?php if ( 1 == $section ) { ?>
<input type="hidden" name="sp_order[<?php echo $team_id; ?>][]" value="<?php echo $player_id; ?>">
<?php } ?>
@@ -569,4 +570,4 @@ class SP_Meta_Box_Event_Performance {
return $output;
}
}
}