The department may allow credit for professional preparation to a member for attendance at institutions of higher learning, or for a scholarship or grant under an established foundation, subsequent to becoming a public school teacher; but not more than two years of such credit may be granted to any member.