Skip Navigation

[Resolved] Inserting a cred form with php

This support ticket is created 7 years, 6 months ago. 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 2 replies, has 2 voices.

Last updated by neilR 7 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#450221

I am trying to: insert a CRED form using php rather than a shortcode. Effectively, I want the php equivalent of this: [cred_user_form form='2647' form_name='Edit user profile']
(copied from 'Inserting a form into a page', here: https://toolset.com/documentation/user-guides/cred-training-course/part-8-building-forms-for-editing-user-profile/
Thanks,
Neil

#450297

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Neil,

Thank you for contacting our support forum.

The only way to do this is by using the function in the link below.
https://developer.wordpress.org/reference/functions/do_shortcode/

Please let me know if this helps.

Thanks,
Shane

#450558

Worked perfectly, thanks.

N
🙂

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.