WordPress.org

Support

Support » Plugins and Hacks » Theme My Login » [Resolved] Integration with Woocommerce – Combining profile page

[Resolved] Integration with Woocommerce – Combining profile page

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Farthing

    @jfarthing84

    function tml_template_redirect() {
    	if ( Theme_My_Login::is_tml_page( 'login' ) && is_user_logged_in() ) {
    		$redirect_to = 'YOUR URL HERE';
    		wp_redirect( $redirect_to );
    		exit;
    	}
    }
    add_action( 'template_redirect', 'tml_template_redirect', 8 );
    joinfof

    @joinfof

    Which file does this snippet go in?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Integration with Woocommerce – Combining profile page’ is closed to new replies.
Skip to toolbar