Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Morgan Hvidt

    (@morganhvidt)

    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/ 😊

    Thread Starter cdweeks

    (@cdweeks)

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘conditional by user email?’ is closed to new replies.