Skip to:
Content
Pages
Categories
Search
Top
Bottom

Delete the “Publish a note in the group” function.


  • pimous
    Participant

    @pimous

    Hello
    How to delete the “Publish a note in the group” function for subscribers and keep it for administrators.

Viewing 1 replies (of 1 total)

  • danbp
    Participant

    @danbp

    Hi @pimous,

    if you mean the Update form (wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypres/activity/post-form.php), you just have to add a conditionnal into the template file, from within your child-theme.
    Something like

    if ( is_super_admin ) {
       // if user is admin, show him the form, otherwide, do nothing
       bp_get_template_part( 'activity/post-form' );
    }

    For a general idea and more details, read here:

    Status

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar