Last active
December 15, 2015 09:19
-
-
Save sareiodata/5237607 to your computer and use it in GitHub Desktop.
Filter Profile Builder username and add extra text after it for information purposes.
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
// filter Profile Builder username and add extra text after it for information purposes. | |
add_filter('wppb_register', 'pb_edit_registration_username', 10, 1); | |
function pb_edit_registration_username($registerFilterArray2){ | |
$registerFilterArray2['name2'] .= 'text here'; | |
return $registerFilterArray2; //returns the default (formatted) input + your custom text | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment