Single => Singular
This commit is contained in:
@@ -364,7 +364,7 @@ class SP_Event extends SP_Custom_Post{
|
||||
|
||||
$icon = '';
|
||||
if ( has_post_thumbnail( $post->ID ) ) {
|
||||
$icon = get_the_post_thumbnail( $post->ID, 'sportspress-fit-mini', array( 'title' => sp_get_single_name( $post->ID ) ) );
|
||||
$icon = get_the_post_thumbnail( $post->ID, 'sportspress-fit-mini', array( 'title' => sp_get_singular_name( $post->ID ) ) );
|
||||
}
|
||||
$performance_icons[ $post->post_name ] = apply_filters( 'sportspress_event_performance_icons', $icon, $post->ID, 1 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user