Thank you, Steve, for replay.
I actually don’t understand, the same snippet is working on another website and that is also in WordPress, I actually can’t figure out why it is not working with this WordPress site.
I already contacted them and told about the issue. They just ask me to raise this on the forum so I did.
but yes let me check with them again, if have any good news.