Allow overriding player selector args
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user