Merge pull request #288 from kadimi/patch-21

Allow overriding player selector args
This commit is contained in:
Brian Miyaji
2018-08-28 23:36:36 +10:00
committed by GitHub

View File

@@ -54,6 +54,8 @@ if ( $team ):
); );
endif; endif;
$args = apply_filters( 'sportspress_players_selector_args', $args );
$players = get_posts( $args ); $players = get_posts( $args );
$options = array(); $options = array();
@@ -77,4 +79,4 @@ if ( sizeof( $options ) > 1 ):
</select> </select>
</div> </div>
<?php <?php
endif; endif;