למשתמש זה אין נושאים מועדפים.
נושאי פורום מועדפים
נושאי פורום שנוצרו
| סטטוס |
נושא
|
תומך | קולות | פוסטים | עדכניות |
|---|---|---|---|---|---|
|
Gravity forms
נפתח על ידי: geoffC-3
ב: English Support
Problem: add_filter( 'gform_notification', 'language_based_notification_email', 10, 3 );
function language_based_notification_email( $notification, $form, $entry ) {
if ( $notification['name'] == 'Admin Notification' ) {
$language = apply_filters( 'wpml_current_language', null );
$emails = array(
'en' => 'admin-en@example.com',
'de' => 'admin-de@example.com',
'fr' => 'admin-fr@example.com',
);
if ( isset( $emails[ $language ] ) ) {
$notification['toType'] = 'email';
$notification['to'] = $emails[ $language ];
}
}
return $notification;
}Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If this does not resolve your issue, please open a new support ticket at WPML support forum. |
|
1 | 5 | לפני חודש 7 | |
|
Installer
נפתח על ידי: geoffC-3 ב: Chat Support |
|
1 | 2 | לפני חודש 11, שבוע 1 | |
|
Adding a custom language
נפתח על ידי: geoffC-3 ב: English Support |
|
0 | 2 | לפני חודש 11, שבוע 2 | |
|
Credit usage
נפתח על ידי: geoffC-3 ב: English Support |
0 | 2 | לפני שנה 1, חודש 1 |