Grammatically the function of 'got' in the sentence/phrase "got married" is Past participle.
But we know past participle/any kind of participle functions as 'Adjective'.
'Get' sometimes can be used as Disguised form of 'To Be'.
For xmple: He was married/He got married.
Anyway,in such kind of use of 'get' in past ...