thomasD-2
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Recaptcha is missing in Firefox browser
Iniciado por: thomasD-2 en: Toolset Professional Support |
2 | 3 | hace 3 años, 5 meses | ||
Toolset blocks v1.3 fatal error related to Class 'Toolset_Relationship_Role'
Iniciado por: thomasD-2 en: Chat Support |
1 | 2 |
hace 4 años, 4 meses
|
||
Plugin Update not possible
Iniciado por: thomasD-2 en: Toolset Professional Support |
2 | 2 | hace 5 años, 10 meses | ||
POST_PARENT_TITLE doesn’t work after migration to Types3 and new relationships
Iniciado por: thomasD-2
en: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 12 | hace 6 años, 6 meses | ||
Form notification to email from parent post field no longer working after Types 3.0 update
Iniciado por: thomasD-2
en: Toolset Professional Support
Problem: I have a Form that triggers an email notification. I send the notification to an email address that is stored in a parent post's custom field, by using the CRED API cred_notification_recipients. Since updating to Types 3.0, the email notifications are not sent as expected. Solution: Update the code to work with the new Post Relationships API, and ensure the child post status is not "private". add_filter('cred_notification_recipients', 'modify_recipients', 10, 4); function modify_recipients($recipients, $notification, $form_id, $post_id) { // Check notification name matches target notification if ( isset($notification['name']) && 'Mail an Veranstalter' == $notification['name'] ) { // Add email recipient $parent_id = toolset_get_parent_post_by_type( $post_id, 'veranstaltung' ); $email_of_organizer = get_post_meta($parent_id, 'wpcf-veranstalter-email', true); $recipients[] = array( 'to' => 'cc', 'address' => '$email_of_organizer', 'name' => '', 'lastname' => '' ); } return $recipients; } Relevant Documentation: |
2 | 5 | hace 6 años, 7 meses |