Viewing 1 replies (of 1 total)
  • Plugin Author Ramon Ahnert

    (@rahmohn)

    Hi @robgol2023

     You can use the filter wflu_redirect_after_login_page_url to bypass the setting and add your custom logic.

    Example (you can add it to the functions.php file of your theme):

    add_filter(
    	'wflu_redirect_after_login_page_url',
    	function( $redirect_to ) {
    		$shop_page_link = get_permalink( wc_get_page_id( 'shop' ) );
    
    		if ( empty( $shop_page_link ) ) {
    			return $redirect_to;
    		}
    
    		return $shop_page_link;
    	}
    );
Viewing 1 replies (of 1 total)
  • The topic ‘Redirect to page Shop not working’ is closed to new replies.