Quantifying the suppression of the (un)-obscured star formation in galaxy cluster cores at 0.2≲ z ≲0.9