; (3) the solicitation, acceptance, or receipt of a contribution from any person on behalf of a candidate for Federal office; and (4) any other act which would be prohibited under paragraph (2) or (3) of section 7323(b) of title 5, United States Code, if taken by an individual to whom such paragraph applies (other than any prohibition on running for public office). (d) Exception for Campaigns of Official or Immediate Family Members (1) In general This section does not apply to a chief State election administration official with respect to an election for Federal office in which the official or an immediate family member of the official is a candidate. (2) Immediate family member defined In paragraph (1), the term immediate family member means, with respect to a candidate, a father, mother, son, daughter, brother, sister, husband, wife, father-in-law, or mother-in-law. . (b) Effective Date The amendments made by subsection (a) shall apply with respect to elections for Federal office held after December 2017.