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

  1. awwnuts
    Posted 2 years 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!


  2. awwnuts
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic