Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,005
- How-to & Troubleshooting
- 129,528
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,782
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,170
-
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