Hi staff,
i've a geopositioned AD, what i want to do is to:
User A register positioning himself in Rome
User B register and post a custom type (AD) near Rome... about 2 km
When User B post the AD, wordpress sends a notification to all the user positioned in a default range of 5Km that there is a new AD
There is any function that behave this way or i need to write down by hardcoding?
Hello. Thank you for contacting the Toolset support.
Well - there is no such native feature available but if you are talking about CRED form here, you can use CRED form's hook to send the custom notifications using CRED hook cred_notification_recipients
Ok, thanks, i think i have to develope some custom code to get lat/long of the AD, make a select for all the user, compare the distance and then send email with that hook