WordPress.org

Ready to get started?Download WordPress

Forums

Removing GooglePlus from user profile (2 posts)

  1. katmac_aus
    Member
    Posted 1 year ago #

    I have the following code in my theme functions file to remove unneccessary contact fields from the user profile like yim and google plus etc. This used to work perfectly fine for all the different contact options I wanted to move but recently I noticed this code has stopped working for google plus.

    function my_edit_contactmethods( $contactmethods ) {
      unset($contactmethods['aim']);
      unset($contactmethods['jabber']);
      unset($contactmethods['yim']);
      unset($contactmethods['googleplus']);
      return $contactmethods;
    }
    add_filter('user_contactmethods','my_edit_contactmethods',10,1);

    Aim, jabber, yim are all removed but Google Plus is staying put. Does anyone know how to remove google plus in the latest wordpress version (3.5)?

  2. Alkorr
    Member
    Posted 8 months ago #

    Same problem for me, unset doesn't work to remove Google+...

Topic Closed

This topic has been closed to new replies.

About this Topic