Merge pull request #288 from kadimi/patch-21
Allow overriding player selector args
This commit is contained in:
@@ -54,6 +54,8 @@ if ( $team ):
|
||||
);
|
||||
endif;
|
||||
|
||||
$args = apply_filters( 'sportspress_players_selector_args', $args );
|
||||
|
||||
$players = get_posts( $args );
|
||||
|
||||
$options = array();
|
||||
@@ -77,4 +79,4 @@ if ( sizeof( $options ) > 1 ):
|
||||
</select>
|
||||
</div>
|
||||
<?php
|
||||
endif;
|
||||
endif;
|
||||
|
||||
Reference in New Issue
Block a user