Posted By

PM-Webdesign on 10/08/10


Tagged

wordpress profilfelder


Versions (?)

Profilfelder in Wordpress entfernen


 / Published in: PHP
 

URL: http://www.wpbeginner.com/wp-tutorials/25-extremely-useful-tricks-for-the-wordpress-functions-file/

Code in functions.php einfügen

  1. <!-- Entfernt die Felder Aim, Jabber, Yim -->
  2.  
  3. add_filter('user_contactmethods','hide_profile_fields',10,1);
  4.  
  5. function hide_profile_fields( $contactmethods ) {
  6. unset($contactmethods['aim']);
  7. unset($contactmethods['jabber']);
  8. unset($contactmethods['yim']);
  9. return $contactmethods;
  10. }

Report this snippet  

You need to login to post a comment.