WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Role Scoper] [Role scoper] how to manage visibility of the custom fields ?

[Plugin: Role Scoper] [Role scoper] how to manage visibility of the custom fields ?

  • HI,
    I am working on a wordpress project where I need to add custom fields in the back office for post edition.
    I wonder how can I manage the visibility of the custom fields I have added using roles defined with role scoper.
    For instance, I’d like to hide my custom field for some user usergroups and display it for others user groups.
    Does anybody can help me ?
    Thanks, greetings.
    Ben

    http://wordpress.org/extend/plugins/role-scoper/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kevin Behrens

    @kevinb

    Sorry, but Role Scoper doesn’t handle custom field visibility.

    hi kevinB,
    Those methods help me :

    $role_scoper_group_id = ScoperAdminLib::get_group_by_name(‘my group ‘)->ID;
    $group_member = ScoperAdminLib::get_group_members($role_scoper_group_id ) ;

    enjoy 😉
    greetings,
    ben

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Role Scoper] [Role scoper] how to manage visibility of the custom fields ?’ is closed to new replies.