WordPress.org

Forums

Front-End Only Users
[resolved] Don't let users know about restriction (3 posts)

  1. nikitabuida
    Member
    Posted 8 months ago #

    Hello,

    Thank you for the plugin!

    I was wondering is it possible to not show message
    "Sorry, this content is only for those whose FIELD is FIELD-value"?

    I just don't want to let my users know that there's certain requirement.

    https://wordpress.org/plugins/front-end-only-users/

  2. Rustaurius
    Member
    Plugin Author

    Posted 8 months ago #

    Hi Nikita,

    You can add the attribute no_message='Yes' to your shortcode, so it would look something like this:

    [restricted field_name='Name' field_value='Alex' no_message='Yes'][/restricted]

    Let me know if that's not working for you.

  3. nikitabuida
    Member
    Posted 8 months ago #

    Hi Rustaurius,

    That is working wonderfully! Thank you!

Reply

You must log in to post.

About this Plugin

About this Topic