Support » Plugin: Social » Hiding social accounts on profile for non-admins.

  • On my website, I do not allow users to publish, only submit for review. After an admin reviews the content, they then publish it. At this point, the admins select where to broadcast.

    The users have no use for this social broadcasting, and I fear that it may cause some issues with them when they edit their profile.

    How can I go about removing the hooks so that social is not displayed on their profiles?

    It actually does not need to be displayed in any profiles, (including admins), because I already set up the twitter page and facebook page through the social settings.

    Thanks in advance. Great plugin!

Viewing 1 replies (of 1 total)
  • I took out

    add_action(‘show_user_profile’, array($social, ‘show_user_profile’));


    add_action(‘load-profile.php’, array($social, ‘enqueue_assets’));

    from the social.php file, it seemed to have done the trick, but I don’t know if this will affect anything else.

Viewing 1 replies (of 1 total)
  • The topic ‘Hiding social accounts on profile for non-admins.’ is closed to new replies.