Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,693
- How-to & Troubleshooting
- 128,248
- Creating & Extending
- 25,680
- Requests & Feedback
- 9,405
- Third Party Plugins
- 9,754
- Showcase
- 3,321
- Ideas
- 1,349
- Miscellaneous
- 8,879
-
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