I need the properties in my website to use a custom address format for the post title.
I'm using the Foundations API Importer.
Lokking through the code, this is where the title is assigned in class-ph-reapit-foundations-json-import.php
I was hoping to find a hook here, so I could set my own title logic, but I can't find anything.
It makes no sense on my website to use the strap as the post title.
And even if we were to use the address fallback, I need to customise the address format to show a partial postcode.
I'm writing a custom search component now, which illustrates the problem
As you can see, the search results show the strap line which is useless in this context.
Could a hook be added? Or is there another workaround for this issue?
I need the properties in my website to use a custom address format for the post title. I'm using the Foundations API Importer. Lokking through the code, this is where the title is assigned in
class-ph-reapit-foundations-json-import.php
I was hoping to find a hook here, so I could set my own title logic, but I can't find anything. It makes no sense on my website to use the strap as the post title. And even if we were to use the address fallback, I need to customise the address format to show a partial postcode.
I'm writing a custom search component now, which illustrates the problem
As you can see, the search results show the strap line which is useless in this context.
Could a hook be added? Or is there another workaround for this issue?
Many thanks.