Skip Navigation

[Resolved] Faulty information given on your toolset forms API webpage

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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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)

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 1 year, 1 month ago.

Assisted by: Nigel.

Author
Posts
#2652425

Each hook listed on https://toolset.com/documentation/programmer-reference/cred-api/ has a list of arguments.

While for cred_save_data the associative array key names for $form_data appear to be correct, the respective information for cred_before_save_data is faulty and might capture developers in unnecessary bug hunts:

'form_id' should be 'id' (as presented in the use case below the text)

Apart from that I'd like to suggest a warning added for beginners, that the key names are case sensitive. Won't hurt.

Best regards,

Sven

#2652461

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Thanks for pointing that out, I have shared that with the documentation team and asked them to update that page.