resync_xprofile_wordpress_fields()
Resync BuddyBoss profile data to WordPress.
Description
Source
File: bp-core/admin/bp-core-admin-tools.php
function resync_xprofile_wordpress_fields() { $users = get_users( [ 'fields' => [ 'ID' ] ] ); array_map( 'xprofile_sync_wp_profile', wp_list_pluck( $users, 'ID' ) ); $statement = __( 'Re-sync user profile data to WordPress; %s', 'buddyboss' ); return array( 0, sprintf( $statement, __( 'Complete!', 'buddyboss' ) ) ); }
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.