Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action('wp_logout', '_redirect_on_logout');
- function _redirect_on_logout(){
- exit(
- wp_redirect(
- get_permalink(
- get_option('woocommerce_myaccount_page_id')
- )
- )
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement