Allow overriding player selector args

This commit is contained in:
Nabil Kadimi
2018-08-07 12:58:01 +01:00
committed by GitHub
parent 0038088858
commit 5adcf79906

View File

@@ -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;