davidZ-4
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
get parent post data and create child post title using CRED form
Started by: davidZ-4
in: Toolset Professional Support
Problem: Use a CRED form for creating child post, I need to get parent post information within cred_save_data action hook using PHP codes. Solution: In the CRED form for creating child post, there is a a parent post selector, it will pass a POST parameter "@client-client-portfolio_parent" to target page, so you will can get the parent post ID with below codes: $parent_post_id = $_POST['@client-client-portfolio_parent']; Relevant Documentation: https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data |
|
2 | 3 | 6 years, 3 months ago |