Page 1 of 1

Renaming Levels in Page Level Restriction drop down

PostPosted: May 5th, 2011, 9:54 pm
by s2MemberGuy
Is there a way to rename the labels in the Page Level Restriction drop down.

Currently it says "Require Level #0 (or higher)"

My client gets confused by this and would like level#0 renamed to "Staff" and level#1 to Execs for example.

I have the S2Member General Options > Membership Levels/Labels > Force WordPress® to use your Labels? option set to YES. And I have renamed my first two levels.

However this doesn't seem to take affect.

Is this a bug?

Re: Renaming Levels in Page Level Restriction drop down

PostPosted: May 5th, 2011, 10:26 pm
by Cristián Lávaque
That setting only affects WP's Users list.

You can look at the code for that panel in this file /s2member/includes/menu-pages/options.inc.php. This hook may help you
Code: Select all
"ws_plugin__s2member_during_options_page_during_left_sections_after_page_level_access"


I hope that helps. :)

Re: Renaming Levels in Page Level Restriction drop down

PostPosted: May 13th, 2011, 12:40 am
by s2MemberGuy
Cristián Lávaque wrote:That setting only affects WP's Users list.

You can look at the code for that panel in this file /s2member/includes/menu-pages/options.inc.php. This hook may help you
Code: Select all
"ws_plugin__s2member_during_options_page_during_left_sections_after_page_level_access"


I hope that helps. :)


Hi Cristian,

Thanks for your reply.

Can you elaborate on how this hook may help me to rename the levels in the options dropdown?