Combine sugar and water in a saucepan and heat over medium heat. Stir until sugar dissolves. Remove from heat, stir in za’atar while still hot, and let steep for at least 30 minutes or up to 3 hours. Strain and discard solids. Will keep, covered in the refrigerator, for up to 1 month.