Problem:
Client wants to use Toolset Form notifications as contact forms, without storing the submitted posts in the database.
Solution:
Forms will always publish a post. If you don't want those posts to be retained, you could
1. add post expiration and have the posts trashed within minutes of them being published. This won't delete them, you would need to use some kind of utility to routinely empty the trash; or
2. use the CRED API to run some code once the form had been submitted and then delete the post. The latest effective hook that could be used in this case would be the cred_notification_recipients hook.
Relevant Documentation:
https://toolset.com/documentation/programmer-reference/cred-api/
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | - |
- | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | - |
Supporter timezone: Europe/London (GMT+00:00)
Este tema contiene 2 respuestas, tiene 2 mensajes.
Última actualización por hace 6 años, 4 meses.
Asistido por: Nigel.