The Wii registration code (used for Nintendo Account / Wii Shop linking) is not printed on the console. It was included only at purchase.
Contact Nintendo Support with the console serial number (bottom sticker). They may recover the link or issue a new PIN.
Not for offline play. Only required for:
Since Wii Shop closed in 2019, the code is largely obsolete.