Add and update hooks

This commit is contained in:
Brian Miyaji
2015-09-22 21:40:44 +10:00
parent d8417c31d6
commit c3e0a68055
4 changed files with 11 additions and 8 deletions

View File

@@ -58,7 +58,7 @@ if ( ! isset( $class ) ) $class = null;
$lineup_sub_relation[ sp_array_value( $sub, 'sub', 0 ) ] = $sub_id;
endforeach;
$data = apply_filters( 'sportspress_event_performance_players', $data, $lineups, $subs );
$data = apply_filters( 'sportspress_event_performance_players', $data, $lineups, $subs, $mode );
$i = 0;
foreach ( $data as $player_id => $row ):