remove spaces from score

This commit is contained in:
2024-05-17 07:19:09 -05:00
parent a9a6ab3207
commit 6a373208dd

View File

@@ -91,6 +91,7 @@ function custom_open_graph_tags_with_sportspress_integration() {
);
$i++;
endforeach;
$publish_date = get_the_date('F j, Y', $post);
$title = "{$teams_result_array[0]['team_name']} {$teams_result_array[0]['result']['r']}-{$teams_result_array[1]['result']['r']} {$teams_result_array[1]['team_name']} ({$publish_date})";
$description .= " " . "{$teams_result_array[0]['team_name']} ({$teams_result_array[0]['outcome']}), {$teams_result_array[1]['team_name']} ({$teams_result_array[1]['outcome']}).";;
}