bp_rest_member_prepare_links
bp_rest_member_prepare_links
Appears in: buddypress.11.0.0, buddypress.11.1.0, buddypress.11.2.0, buddypress.11.3.1, buddypress.11.3.2, buddypress.11.4.0, buddypress.12.0.0, buddypress.12.1.1, buddypress.12.2.0, buddypress.12.3.0, buddypress.12.4.0, buddypress.12.4.1, buddypress.12.5.0, buddypress.12.5.1, buddypress.14.0.0, buddypress.14.1.0, buddypress.14.2.1, buddypress.14.3.3
Hook Type: filter
Displaying hooks found in version: buddypress.14.3.3apply_filters('bp_rest_member_prepare_links') is found 1 times:
- /bp-members/classes/class-bp-rest-members-endpoint.php line 611
* * @param array $links The prepared links of the REST response. * @param WP_User $user The User object. */ return apply_filters( 'bp_rest_member_prepare_links', $links, $user ); } /** * Method to facilitate fetching of user data. * * This was abstracted to be used in other BuddyPress endpoints.