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:
@@ -405,6 +405,7 @@ class SP_Meta_Box_Event_Performance {
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
<td>
|
<td>
|
||||||
<?php echo get_the_title( $player_id ); ?>
|
<?php echo get_the_title( $player_id ); ?>
|
||||||
|
<?php do_action ( 'sportspress_event_selected_players' ); ?>
|
||||||
<?php if ( 1 == $section ) { ?>
|
<?php if ( 1 == $section ) { ?>
|
||||||
<input type="hidden" name="sp_order[<?php echo $team_id; ?>][]" value="<?php echo $player_id; ?>">
|
<input type="hidden" name="sp_order[<?php echo $team_id; ?>][]" value="<?php echo $player_id; ?>">
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user