Just confirming that we got your request. We’re on it.
HI @italwebcom , our dev team says There is an issue on this process and they are working on it and will publish this in next release.They are adding new hooks to handle this. THank you for bringing this to our attention.
Hi @italwebcom this has been addressed and will be included in our next release.
thanks for the reply, can you tell me when the next update will be? for me it is urgent
Monday morning. If you send us an email, we can get you the code sooner. [email protected]
@italwebcom just released here – thanks for your patience!
yes, the problem is the same for me, with the new release remain, what we can do?
-
This reply was modified 7 years, 3 months ago by
italwebcom.
In function.php need to add these hooks and need to change the URL accodingly.
/** custom page language condition will be add inside this**/
add_filter( ‘redirect_after_gdprf_submit’,’modify_fiter’);
function modify_fiter($value){
if (get_locale() == ‘language_code’) {
return “TOOL_LANG_URL”;
}
}
add_filter( ‘privacy_tools_gdprf_page_url’,’modify_fiter_url’);
function modify_fiter_url($value){
if (get_locale() == ‘language_code’) {
return “TOOL_LANG_URL”;
}
}
I use your code but dont work
/** custom page language condition will be add inside this**/
add_filter(‘redirect_after_gdprf_submit’,’modify_fiter’);
function modify_fiter($value){
if (get_locale() == “en”) {
return “https://www.XXXXXX.it/privacy-tools/?lang=en&gdpr_notice=email_sent”;
}
}
add_filter(‘privacy_tools_gdprf_page_url’,’modify_fiter_url’);
function modify_fiter_url($value){
if (get_locale() == “en”) {
return “https://www.XXXXXX.it/privacy-tools/?lang=en”;
}
}
@italwebcom development says The code is working but you need to clear website cache that is why it causes this problem. Please let us know if that does not solve the issue by sending us an email at [email protected]. Thank you!