If the identity or location of a parent or guardian is not reasonably ascertainable or a parent or guardian fails to appear, the court shall consider appointing an attorney-at-law to represent the interests of the absent parent or guardian, and the hearing may be held.
Prior to a hearing at which a child is the subject of an initial foster care plan filed pursuant to § 16.1-281, a foster care review hearing pursuant to § 16.1-282 and a permanency planning hearing pursuant to § 16.1-282.1, the court shall consider appointing counsel to represent the child's parent or guardian.
Va. Code § 16.1-266