Passer la navigation

[Résolu] Can I run cred_save_data on user forms?

This support ticket is created Il y a 3 années et 10 mois. 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par himanshuS Il y a 3 années et 10 mois.

Assisté par: Minesh.

Auteur
Publications
#2155809

I want to confirm if cred_save_data work on user forms as it does on post forms?

All the documentation says post_id and does not mention user_id.

#2155859

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Yes - you can obviously run the "cred_save_data" hook with user forms as well.

In that case, you will have to consider the $post_id as your $user_id.

#2156303

My issue is resolved now. Thank you!