WordPress.org

Forums

Social
Hiding social accounts on profile for non-admins. (2 posts)

  1. awwnuts
    Member
    Posted 1 year ago #

    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!

    http://wordpress.org/plugins/social/

  2. awwnuts
    Member
    Posted 1 year ago #

    I took out

    add_action('show_user_profile', array($social, 'show_user_profile'));

    and

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Social
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic