Redirect Users After Log Out On WordPress Website

In this video i show you how you can redirect users when they log out of your WordPress made website.. the code i use in the video is below

add_action(‘wp_logout’,’auto_redirect_after_logout’); function auto_redirect_after_logout(){ wp_redirect( home_url() ); exit(); }

CHECK THIS OUT  Amazon, Kickstarter, Reddit, YC join ‘save net neutrality’ protest planned for July 12