yt
Forum Replies Created
-
Hello Sally
Thank you very much for your detailed reply.Thanks for your useful explanation
Please tell me:
1- In
// $isEnabled = Prior valueWhat should I write instead of the previous value?
2- In
// $type = Values are API or LOGIN
What should I write instead of the type?3- What do the numbers in
}, 10, 3);
refer to and on what basis should I change them?Hi Sully
Greetings and special thanks for your very quick response.
I changed the code"
add_filter('SS88_2FAVE_custom_redirect', function($URL) {
if(current_user_can('editor')) return 'https://custom.com/page/here';
else return $URL;
});
to:
add_filter('SS88_2FAVE_custom_redirect', function($URL) {
if(current_user_can('editor')) return 'https://google.com';
else return $URL;
});
and copied it into the function file of the 2025 theme block template
But the user with the editor role was not redirected, but was transferred to the WordPress dashboard
Please tell me:
1- Was the link change correct?
2- Is the code only for the editor role or all user roles?- This reply was modified 1 year ago by yt.
Hi Sully
Greetings and special thanks for your very quick response.
Regarding your recent response, so what is the main use of the above code?
Forum: Plugins
In reply to: [bbp style pack] Warning: filesize(): stat failed for CSSThe problem was solved by recent update of bbp style pack.
Thanks very musch Mr Robin.Forum: Plugins
In reply to: [Create Block Theme] Remove a font UploadedThanks a lot for your exact guidance.