thomasD-2
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
This user has no favorite topics.
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Recaptcha is missing in Firefox browser
Commencé par : thomasD-2 in: Toolset Professional Support |
2 | 3 | Il y a 3 années et 5 mois | ||
Toolset blocks v1.3 fatal error related to Class 'Toolset_Relationship_Role'
Commencé par : thomasD-2 in: Chat Support |
1 | 2 |
Il y a 4 années et 4 mois
|
||
Plugin Update not possible
Commencé par : thomasD-2 in: Toolset Professional Support |
2 | 2 | Il y a 5 années et 10 mois | ||
POST_PARENT_TITLE doesn’t work after migration to Types3 and new relationships
Commencé par : thomasD-2
in: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 12 | Il y a 6 années et 6 mois | ||
Form notification to email from parent post field no longer working after Types 3.0 update
Commencé par : thomasD-2
in: 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 | Il y a 6 années et 7 mois |