This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Remove infamously extra contact methods add by Listify theme used with WP Job Manager | |
add_filter('user_contactmethods', function($methods) { | |
// list of items to remove | |
$unset_items = ['pinterest', 'linkedin', 'github']; | |
foreach($unset_items as $item) { | |
unset($methods[$item]); | |
} |