What is a secondary transformer?
The phrase can also be written as "A transformer with the secondary voltage being 12V" - meaning it's primary is rated for 110V and it will put out 12V.

Yes, you can replace the transformer with a wall wart - but keep in mind that safety ratings can be different so intended use must come into play.