Created
June 14, 2017 15:44
-
-
Save JMWebDevelopment/56f8e11f1413d4b009c8c98cf74cf45a to your computer and use it in GitHub Desktop.
For more information, go to: https://sportsbenchwp.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="team-select" class="row"> | |
<select name="player-page-select" id="player-page-select"> | |
<option value=""><?php _e( '--- Select a Team ---', 'sports-bench' ); ?></option> | |
<option value="0"><?php _e( 'Free Agent', 'sports-bench' ); ?></option> | |
<?php | |
$teams = sports_bench_get_teams( true ); | |
foreach ( $teams as $team_id => $team_name ) { | |
echo '<option value="' . $team_id . '">' . $team_name . '</option>'; | |
} | |
?> | |
</select> | |
</div> | |
<div id="team-players" class="row"></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment