Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,849
- How-to & Troubleshooting
- 128,858
- Creating & Extending
- 25,736
- Requests & Feedback
- 9,445
- Third Party Plugins
- 9,772
- Showcase
- 3,317
- Ideas
- 1,388
- Miscellaneous
- 9,132
-
Actually, it is possible to do this kind of verification. There’s just no UI for it.
Look in buddypress/bp-xprofile/bp-xprofile-classes.php, method BP_XProfile_ProfileData::save(). There is an action hook ‘xprofile_data_before_save’ that happens (you guessed it) before the save. You could hook a custom filtering function to this action and validate your data that way.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS