Profilfelder in Wordpress entfernen


/ Published in: PHP
Save to your folder(s)

Code in functions.php einfügen


Copy this code and paste it in your HTML
  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. }

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.