Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,892
- Creating & Extending
- 25,913
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,404
- Miscellaneous
- 9,183
-
Hi @mlcapulong
If you know the field ID, you can do this:
$field = new BP_XProfile_Field( $field_id );
$children = $field->get_children();
if ( $children ) {
foreach ( $children as $child ) {
// Do something here.
// var_dump( $child );
}
}