Created
January 21, 2022 20:06
-
-
Save anthonysbrown/7d8558a7b550634e90c43b8d72843ccc to your computer and use it in GitHub Desktop.
Change the user dropdown name from SP client document manager
This file contains hidden or 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 | |
add_filter('spcdm/premium/select_user/name', '_custom_cdm_dropdown_name', 10,2); | |
function _custom_cdm_dropdown_name($name,$user){ | |
return $user->user_nicename; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment