latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Hide s2Member metabox from all but admin?

Home Forums Community Forum Hide s2Member metabox from all but admin?

This topic contains 2 replies, has 2 voices. Last updated by  Justin House 3 years, 11 months ago.

Topic Author Topic
Posted: Tuesday Jan 15th, 2013 at 3:29 pm #37633
Justin House
Username: jhouse

Hi,

I’m using User Role Editor with s2Member so users can have posting access with their Subscriber account, however, it shows the s2Member metabox for both my post and my custom post types. You know, the one that says “Post Level Restriction? and Require Custom Capabilities? This is something I want to hide for everybody, but Admins. How can I achieve this?

Thanks.

List Of Topic Replies

Viewing 2 replies - 1 through 2 (of 2 total)
Author Replies
Author Replies
Posted: Tuesday Jan 15th, 2013 at 4:22 pm #37653
Staff Member

Thanks for your inquiry. ~ We appreciate your patience :-)

Please create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
(NOTE: these are MUST USE plugins, see: http://codex.wordpress.org/Must_Use_Plugins)
(See also: http://www.s2member.com/kb/hacking-s2member/)

Posted: Tuesday Jan 15th, 2013 at 5:19 pm #37671
Justin House
Username: jhouse

Fantastic, that worked perfectly Jason. Thank you! Simple solution, love it.

Viewing 2 replies - 1 through 2 (of 2 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.