/** * WooCommerce My Account Page Logout Redirect */ add_action( 'wp_logout', 'owp_redirect_after_logout' ); function owp_redirect_after_logout() { wp_redirect( 'your url here' ); exit(); }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter