Add filter to post type event data args

This commit is contained in:
Brian Miyaji
2015-03-10 14:24:44 +11:00
parent e18cab661c
commit e058d68c5f
4 changed files with 21 additions and 4 deletions

View File

@@ -175,6 +175,8 @@ class SP_League_Table extends SP_Custom_Post{
'terms' => $div_id
);
endif;
$args = apply_filters( 'sportspress_table_data_event_args', $args );
$events = get_posts( $args );