Rename event performance player selection action for clarity

This commit is contained in:
Brian Miyaji
2017-12-11 12:10:03 +11:00
parent 9ca9aa2131
commit dacfa8eac0

View File

@@ -405,7 +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 do_action ( 'sportspress_event_performance_player_selection' ); ?>
<?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 } ?>