Exclude restric access for one page
-
Hi
I need my visitor to exclude restricted acceess to one page to reset or change their password.
I see this code but I dont know how to adapt I need my visitor see the profil-membre, what can I do please ?add_filter( 'restricted_site_access_is_restricted', 'my_rsa_feed_override', 10, 2 ); function my_rsa_feed_override( $is_restricted, $wp ) { // check query variables to see if this is the feed if ( ! empty( $wp->query_vars['feed'] ) ) { $is_restricted = false; } return $is_restricted; }
Thanks a lot
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Exclude restric access for one page’ is closed to new replies.