A new Virginia law will mandate that every family in the state will be alerted if their children could be exposed to sexually explicit content in public schools.

Officials with the Virginia Department of Education (VDOE) said the regulations, which school boards have until January to adopt, are aimed at reinforcing parents in their right to decide what their children are exposed to and at protecting their innocence, according to local Richmond outlet WTKR. They also noted that the law is not intended to censor books or instructional material based on the sexual orientation of characters in such books.

The policy mandates that public schools in Virginia, which has been a hotbed of conflict between parents and school boards, must give parents prior notice if they intend to use any material with sexually explicit content, which it defines as "any description, picture, photograph, drawing, motion picture film, digital image or similar visual representation depicting sexual bestiality, a lewd exhibition of nudity, sexual excitement, sexual conduct or sadomasochistic abuse, coprophilia, urophilia, or fetishism."

Parents will be allowed to review the potentially objectionable material and be given the opportunity for their child to be given an alternative in a process that schools will be required to create before the start of each school year.

JUDGE DISMISSES VIRGINIA OBSCENITY LAWSUIT SEEKING TO RESTRICT DISTRIBUTION OF BOOKS TO MINORS

Virginia Gov. Glenn Youngkin speaking in Richmond.

Glenn Youngkin, governor of Virginia, speaks prior to signing executive actions in the Virginia State Capitol in Richmond, Virginia, U.S., on Saturday, Jan. 15, 2022. (Al Drago/Bloomberg via Getty Images)

Schools will also be mandated to list the materials on their websites and give parents at least 30 days' notice before such material is slated to be taught.

The policies apply to "Any content used by one or more students for an educational purpose, regardless of (a) its format, whether printed, representational, audiovisual, electronic, or digital (such as materials, social media content, and software applications accessible through the internet), or (b) the time, place and manner in which the content is used."

VIRGINIA GOV. YOUNGKIN DEFENDS TRANSGENDER POLICIES AFTER STUDENT PROTESTS: PARENTS WILL NOT BE ‘EXCLUDED’

People gather in support of continuing the school mask mandate

People gather in support of continuing the school mask mandate outside the Loudon County Government Center prior to a Board of Supervisors meeting in Leesburg, Virginia. (Matt McClain/The Washington Post via Getty Images)

"Library materials are considered instructional materials when used (i) for completion of an assignment, or (ii) as part of an academic or extracurricular educational program. This includes any division, school, and/or classroom purchased or created assessments. However, the phrases ‘instructional material’ and 'instructional materials' do not include standardized national or state assessments, such ACT, SAT, NAEP, and AP or SOL exam," the policies continue.

The new law comes weeks after a judge in Virginia Beach dismissed a lawsuit on jurisdictional grounds that had sought to deem two controversial books as obscene and to restrict their distribution to minors in libraries and bookstores.

Parents at school board meeting in Ashburn, Virginia.

Parents and community members attend a Loudoun County School Board meeting about critical race theory in Ashburn, Virginia, on June 22, 2021. (REUTERS/Evelyn Hockstein)

CLICK HERE TO GET THE FOX NEWS APP

"Gender Queer" and "A Court of Mist and Fury" have stoked outrage from parents who object to the description or illustration of sexual acts in them. "Gender Queer," an award-winning 2014 graphic novel by Maia Kobabe, includes photos of sexual acts between a boy and a man.