Create a php snippet for multiple pages in order to hide the full address for a listing

I’m trying to create a php snippet for multiple pages in order to hide the full address for a listing. I’ve been able to do this for one page successfully, but I’m struggling to understand the code reference.

How do I know what is what in the code reference? EX: on the homepage, if I use the hivepress listings block, how can I know what namespace to use in my php snippet? Or what template goes to what page?

Hi,

Please check these links:

​I hope this is helpful to you.