Use sp_ for the new hook
This commit is contained in:
@@ -26,7 +26,7 @@ elseif ( 'list' === $format ) {
|
|||||||
'columns' => array( 'event', 'time', 'results' ),
|
'columns' => array( 'event', 'time', 'results' ),
|
||||||
'order' => 'DESC',
|
'order' => 'DESC',
|
||||||
);
|
);
|
||||||
$args = apply_filters( 'sportspress_team_events_list_args', $args );
|
$args = apply_filters( 'sp_team_events_list_args', $args );
|
||||||
sp_get_template( 'event-list.php', $args );
|
sp_get_template( 'event-list.php', $args );
|
||||||
} else {
|
} else {
|
||||||
sp_get_template( 'event-fixtures-results.php', array( 'team' => $id ) );
|
sp_get_template( 'event-fixtures-results.php', array( 'team' => $id ) );
|
||||||
|
|||||||
Reference in New Issue
Block a user