White list problem
-
Dear Kevin,
I would like to set up the white list, but it isn’t working.
I readin over this blog, but I haven’t found solution to this.I use last:
/**
* Filter Force Login to allow exceptions for specific URLs.
*
* @return array An array of URLs. Must be absolute.
**/
function my_forcelogin_whitelist( $whitelist ) {
$whitelist[] = site_url( ‘/mypage/’ );
return $whitelist;
}
add_filter(‘v_forcelogin_whitelist’, ‘my_forcelogin_whitelist’, 10, 1);I tried
$whitelist[] = home_url(); $whitelist[] = home_url(‘/’) and $whitelist[] = http//:vaszonkepbolt.hu/’; butnothing happenned.Can you lead me to the soluiton please?
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘White list problem’ is closed to new replies.