What is the proper usage of 'app.graph.renderer.hidePowerTag = true'?

What I’m trying to do

Use the code below to hide the “Powered by Obsidian” text in the graph.

app.graph.renderer.hidePowerTag = true

Things I have tried

Adding the code to publish.css

Does the code need to be at a specific location with publish.css? Or does it need to be used somewhere else?

Related post: Customize "Powered by Obsidian" on graph view - #4 by sol