Problem:
The user is using Gravity form and the "Post Creation" addon to create some custom post type. He would like to link the created post with a parent post that is collected from a Gravity form field.
Solution:
You will need to hook into the gravity form submit process and use the toolset_connect_posts function to link the posts with the Toolset relationship.
The user ended up using this custom code:
// Customer to Cut Sheet Relationship From GF Form Submit
add_filter( 'gform_advancedpostcreation_post_after_creation_4', 'apc_toolset_setparent', 10, 4 );
function apc_toolset_setparent( $post_id, $feed, $entry, $form ) {
toolset_connect_posts( 'customer-cut-order', $entry[21], $post_id );
}
// Customer to Cut Sheet Relationship From GF Form Submit
Viendo 13 debates - del 1 al 13 (de un total de 13)
Problemas conocidos y sus soluciones
En Toolset erratas, documentamos problemas conocidos y sus soluciones. Ahorre tiempo consultando allí primero y viendo si el suyo es un problema conocido. Mantenemos la lista corta. Hacemos lo mejor que podemos para resolver todos los problemas conocidos con cada lanzamiento de los plugines de Toolset.
Política de soporte
Nuestro personal le ayudará a usar los plugines de Toolset correctamente, le proporcionará la información que necesite, le ayudará a resolver problemas y lo asesorará con respecto a las mejores prácticas.
Sírvase asegurarse de incluir solamente un tema en cada solicitud de soporte.