• Resolved luca_2387

    (@luca_2387)


    Hello!
    I need a specific page to be visible only for logged user, so I made it parent of /shop/bulk as well as /my-account/bulk, but it doesn’t work.

    Bulk page is available to everyone.

    Is it a way to solve this issue? Thank you!

    Luca

    The page I need help with: [log in to see the link]

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

    (@rahmohn)

    Hi @luca_2387

    You can use the filter wflu_should_redirect_not_logged_in_user to implement your custom logic to redirect the not logged-in user or not. Example:

    <?php
    add_filter(
    	'wflu_should_redirect_not_logged_in_user',
    	function( $should_redirect_not_logged_in_user ) {
    		return is_page( 'YOUR_PAGE' ) || $should_redirect_not_logged_in_user;
    	}
    );
    

    References:

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with new page nested under /shop/’ is closed to new replies.