Support » Plugin: AuthorSure » Remove Skype Field in WP User Profile

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Russell Jamieson


    The unset should work – it might be you are calling it too soon, ie. before AuthorSure adds the skype contact method.

    AuthorSure add the methods at the ‘user_contactmethods’ filter hook with a priority of 10. If you run your “unset” at the same hook with priority 11 I think it should work

    I don’t understand.

    “Unset” is set at the bottom of the Functions theme file.

    How exactly solve the problem step-by-step?

    Plugin Author Russell Jamieson


    Add the following to functions.php

    function custom_remove_skype($methods) {
       if (array_key_exists('skype',$methods)) unset($methods['skype']);
       return $methods;
    add_filter ('user_contactmethods','custom_remove_skype',11);

    This should remove the Skype entry as custom_remove_skype will run AFTER the Authorsure function that adds the Skype method and not before

    Solved. Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove Skype Field in WP User Profile’ is closed to new replies.