Add filter to post type event data args
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user