wp menu location assign <menu> <location>

Assigns a location to a menu

Arguments

NameDescription
menuThe name, slug, or term ID for the menu
locationLocation’s slug