A Latin phrase referring to a person treated as a parent by a child, and that has established a meaningful parental relationship with them over a period but are not legally or biologically their parent.
Merriam-Webster Online Dictionary
in loco parentis (adverb)in the place of a parent - school officials acting in loco parentis
regulation or supervision by an administrative body (as at a university) acting in loco parentis