Yes, that is the power gallery add to site code that you will past into the Power CMS Content Area.
The code example I give above is the Power CMS Developer notes code.
It is the Power CMS developer notes code that needs to be modified with the wa_evaluate function.
Not the Power Gallery Add to Site Code.
The user will only need to create the gallery, then copy the Power Store Add to Site Code into the Power Gallery content artea, they do not need to modify anything.
You as the developer, need to modify the Power CMS deleper notes code that will display the Power CMS Content area in the web site to use the wa_evaluate function.