WPIntell

Source evidence

Exclusion Based Redirects

Role Based Redirect · support · 2021-12-02T23:49:00+00:00

complaintsentiment
mediumseverity
0.81relevance
0replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 34 rows with source links

17.6% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
CubicInfinity unresolved
This was originally a review, but a mod removed it because they thought it was too support like. There’s no option to redirect everyone except certain roles. For that, don’t use this plugin, instead just use wp_redirect() in the “template_redirect” hook. Example to capture user role: $roles = ( array ) wp_get_current_user()->roles; if (!in_array("administrator", $roles)) { See https://developer.wordpress.org/reference/functions/wp_redirect/ and https://wordpress.stackexchange.com/questions/12535/which-hook-should-be-used-to-add-an-action-containing-a-redirect To turn this into a support request (it was not originally intended to be) you are free to add this as a feature. It would make the plugin more useful. I won’t be installing the plugin however, because now I have a snippet that does what I need it to. BTW, I gave this plugin 5 stars for being well written. I have nothing against the person/people who developed it; just a little annoyed by the random WP mod that removed my review. I come from a more open-source, user-generated culture, so maybe my expectations are just wrong.

Comments

0 shown

No comments were stored for this source.