Edward Kerr
“Pretty Little Liars” alum Edward Kerr will guest star in Season 1, episode 9 of Fox’s “Ghosted.” Getty Images/Frederick M. Brown

Edward Kerr has landed a guest-starring role on “Ghosted.”

Details on Kerr’s character are being kept under wraps, but the actor is set to appear in Season 1, episode 9 of the Fox comedy, which airs on Sunday, Jan. 7 at 8:30 p.m. EST.

Kerr is best known for his role as Ted Wilson on Freeform’s “Pretty Little Liars.” The 51-year-old actor also appeared on WB’s “What I Like About You,” NBC’s “Three Sisters” and “SeaQuest DSV.”

In Season 1, episode 9 of “Ghosted,” Annie (Amber Stevens West) tags along on Max (Adam Scott) and Leroy’s (Craig Robinson) next case. According to the synopsis for the installment, Max and Leroy invited Annie to join their mission because she is an expert on the killer creature they are trying to find.

This isn’t the first time Annie has joined Max and Leroy on their fieldwork. In Season 1, episode 5, Annie memorably went undercover with the pair after a bizarre incident took place at an elite country club. Annie joined the partners’ mission at the time because she frequented many country clubs in her youth.

Elsewhere in episode 9, Max’s survival skills are put to the test when he, Leroy and Annie lose their way in the woods. Meanwhile, back at the Bureau Underground, Barry (Adeel Akhtar) proves himself an asset in solving Captain LaFrey’s (Ally Walker) dating struggles.

As reported late last month, “Ghosted,” which received an initial 10-episode order for its debut season, scored six more episodes from Fox, bringing its Season 1 total to 16 episodes. According to Entertainment Weekly, “Ghosted’s” initial order will run into January. After which, the show will go on a hiatus before returning in the spring.

Also, “The Office” executive producer and showrunner Paul Lieberstein was tapped to exec produce the back six episodes and replace Kevin Etten as showrunner. Etten, who also executive produced and co-created the series with Tom Gormican, is exiting the project. Sources told Deadline that hiring Lieberstein was part of the network’s plan to change the tone of the show and make it more of a workplace comedy.