Este usuário não tem tópicos favoritos.
Tópicos favoritos do fórum
Tópicos do fórum criados
| Status |
Tópico
|
Suporte | Vozes | Posts | Atualidade |
|---|---|---|---|---|---|
|
Gravity forms
Iniciado por: geoffC-3
em: 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 | 8 meses, 1 semana atrás | |
|
Installer
Iniciado por: geoffC-3 em: Chat Support |
|
1 | 2 | 1 ano atrás | |
|
Adding a custom language
Iniciado por: geoffC-3 em: English Support |
|
0 | 2 | 1 ano atrás | |
|
Credit usage
Iniciado por: geoffC-3 em: English Support |
0 | 2 | 1 ano, 2 meses atrás |