WPIntell

Source evidence

conditional by user email?

Conditional Blocks – Advanced Content Visibility Control for WordPress · support · 2021-05-19T17:59:00+00:00

mixedsentiment
mediumseverity
0.84relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

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

5 / 33 rows with source links

15.2% 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
cdweeks resolved
Can this plugin be used to restrict content to a specific user? Hi @cdweeks Thank you for reaching out! I’m confident we can make a custom “User Email” condition possible by using our PHP Logic feature with Condition Blocks Pro. https://conditionalblocks.com/docs/conditions/show-block-by-php-logic/ If you are interested I can help create a small snippet that can be used to enable the functionality within Conditional Blocks. The workflow would look like this after installing the snippet. 1. Create a Block or Group Block. 2. Add the PHP logic condition to the selected block, then write in the custom function name + desired email of the user. Something like this (similar to the screenshots in the above link). cdweeks_user_has_email('morgan@something.com') The function will then check if the current user has the email and display the block for them. Would that work for you? Let me know if I’m missing something. Since this would be related to the pro version you can always write to me at https://conditionalblocks.com/support/ 😊 Hi, thanks, that sounds perfect. I’ll check out the plugin and let you know if I need help with the php.

Comments

2 shown
Morgan Hvidt 2021-05-20T07:35:00+00:00

Hi @cdweeks Thank you for reaching out! I’m confident we can make a custom “User Email” condition possible by using our PHP Logic feature with Condition Blocks Pro. https://conditionalblocks.com/docs/conditions/show-block-by-php-logic/ If you are interested I can help create a small snippet that can be used to enable the functionality within Conditional Blocks. The workflow would look like this after installing the snippet. 1. Create a Block or Group Block. 2. Add the PHP logic condition to the selected block, then write in the custom function name + desired email of the user. Something like this (similar to the screenshots in the above link). cdweeks_user_has_email('morgan@something.com') The function will then check if the current user has the email and display the block for them. Would that work for you? Let me know if I’m missing something. Since this would be related to the pro version you can always write to me at https://conditionalblocks.com/support/ 😊

cdweeks 2021-05-20T09:54:00+00:00

Hi, thanks, that sounds perfect. I’ll check out the plugin and let you know if I need help with the php.