Will my restriction code transfer on to my other apple device?

I forgot my restriction passcode on my IPhone 6s Plus so I connected it to ITunes and restored it from new so I no longer have a restriction code on. However I realised that I need my notes and the only information that came on to my phone after signing in to ICloud is my photos. If I used my old IPhone 5s and restored it from ICloud my notes will come back but so will my restriction code which I do not know the password to. So my question is if I do this to retrieve my notes, will the restriction passcode also come back on to my IPhone 6s Plus as both devices will be signed in to the same ICloud?

Hi No this is a particular big issue i have with having 5 apple devices each has to have a separate code. Fine except it i read out far too fast for any one to be able to write it down. Worst still when trying to get it for an apple Se the other day the voice kept repeating code after code over and over again all different. So i has 5 useless pieces of equipment which will soon find them selves being passed on so by bye apple hello LINUX.