add_filter doesnt work
-
hi,
some filters i put in functions.php are working, i.e. the login-redirect one.
but not the logout-redirect.:add_filter( ‘wpmem_logout_redirect’, ‘my_logout_redirect’ );
function my_logout_redirect()
{
// return the url that the logout should redirect to
return ‘https://yourdomain.com/your-page’;
}(got it here: https://rocketgeek.com/plugins/wp-members/users-guide/filter-hooks/wpmem_logout_redirect/)
what can i do ?
ps. didn’t copy/paste and put in my page namethanx for answering
mathi
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘add_filter doesnt work’ is closed to new replies.