CRED plugin provides an API, making it easy to customize your post or user forms. The API includes hooks (actions and filters) to accomplish specific tasks using PHP code.
When you ask for help or report issues, make sure to tell us all related information about your form and what you want to achieve.
Viewing 15 topics - 256 through 270 (of 358 total)
I want to add the terms from project prompt post type to project submission post type on submitting project submission form. I am able to do that with url param as parent post id but I am unable to do that using $_POST("@relationship-field-slug.parent"). What am I missing? Is the slug for getting data from relationship field in a form different?
Solution:
Please try the PHP post variable:
$_POST['@project-prompt-to-project-submission_parent']
See PHP document: