Hi Plugin Author,
First would like to say, that is an awesome simple code you provided to redirect on custom login page…
So after adding the code on my child theme function.php, It’s working for me perfectly…
Just i see Please log in or register to complete your purchase. message isn’t appearing on my custom login page, do you have any solution or cute simple magic code?
If so, please give me ??
I was tried with something like this but didn’t work…
add_filter( 'wc_force_auth_message', function ( $url ) {
$page_id = 6382; // change this
return get_permalink( $page_id );
return apply_filters( 'wc_force_auth_message', __( 'Please login or register to complete your purchase.', 'wc-force-auth' ) );
} );
I hope you can give me a solution ASAP ??