logout_redirect WordPress Filter Hook
The logout_redirect Wordpress hook allows you to redirect a user after they have logged out of your site. This can be useful if you want to send them to a specific page, or if you want to redirect them to the home page.
apply_filters( 'logout_redirect', string $redirect_to , string $requested_redirect_to , WP_User $user ) #
Filters the log out redirect URL.