From cee1c63abec4d0ae65cded0e5584da7e0a845ad7 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Wed, 21 Jan 2015 23:52:02 +1100 Subject: [PATCH] Pass staff details through filter --- templates/staff-details.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/staff-details.php b/templates/staff-details.php index 4013b08b..49093389 100644 --- a/templates/staff-details.php +++ b/templates/staff-details.php @@ -44,6 +44,8 @@ if ( $past_teams ): $data[ __( 'Past Teams', 'sportspress' ) ] = implode( ', ', $teams ); endif; +$data = apply_filters( 'sportspress_staff_details', $data, $id ); + $output = '
' . '
';