Block url to certain role
-
Hello on my wordpress i got an url named /rex/ , is it possible to be displayed only for a specific role or block other role to see it ?
The problem is that this page is not build on wordpress it’s a endpoint (it has been build by another dev than me and i’m not ok with endpont)
function latty_add_rex_endpoint() { add_rewrite_endpoint( 'rex', EP_ROOT | EP_PAGES ); }
so if anybody got a solution i would be great ! thank you
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Block url to certain role’ is closed to new replies.