Hides private content (fields) from users without certain Roles or Membership Packs and replaces it with another content.
The plugin improves ACFCP build-in “For Logged-in” option and provides following additional options for each field:
- Placeholder: Text, which not trusted users will see on page (for ex. “This field hidden for not logged-in!”). If empty, the field will not shown for not trusted at all. Also works with ACFCP build-in option “For Logged-in”.
- Allowed Memberships: Membership Packs IDs delimited by commas to display this field. If empty or user is Admin – there will no restrictions by Membership.
- Allowed Roles: WP Roles delimited by commas to display this field. If field is empty or user is Admin – there will no restrictions by roles.
For example you can use it for field “Phone Number”, if you want hide this field from not logged-in users or from search engines and other bots. They are will see only “Placeholder” text, which you can set for each field separately.
Ideal for use in pair with ACFCP Add-on “ACF :: Hyperlink”.
Requires ACFCP 2.3+, ClassiPress 3.2+ WordPress 3.0+.