Navigation überspringen

[Gelöst] Faulty information given on your toolset forms API webpage

This support ticket is created vor 2 years, 7 months. There's a good chance that you are reading advice that it now obsolete.

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
- 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 -

Zeitzone des Unterstützers: Europe/London (GMT+01:00)

Dieses Thema enthält 1 reply, hat 2 Stimmen.

Zuletzt aktualisiert von Nigel vor 2 years, 7 months.

Assistiert von: Nigel.

Author
Artikel
#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
Unterstützer

Sprachen: Englisch (English ) Spanisch (Español )

Zeitzone: Europe/London (GMT+01:00)

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