Problem:
I have a cred form that adds or updates a custom post type. When saving a valid post_title with a & in the name, it gets changed to the HTML character
Solution:
You can try with the API action "cred_save_data":
https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data
This hook allows doing a custom action when post data is saved to database.
Replace all those with "&" in the post title
Relevant Documentation:
https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data
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.
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| - | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
| - | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Fuseau horaire du supporter : Asia/Hong_Kong (GMT+08:00)
Ce sujet contient 2 réponses, a 2 voix.
Dernière mise à jour par Il y a 4 years, 5 months.
Assisté par: Luo Yang.