bp_rest_members_delete_current_item_permissions_check
bp_rest_members_delete_current_item_permissions_check
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_members_delete_current_item_permissions_check') is found 1 times:
- /bp-members/classes/class-bp-rest-members-endpoint.php line 451
* * @param true|WP_Error $retval Returned value. * @param WP_REST_Request $request The request sent to the API. */ return apply_filters( 'bp_rest_members_delete_current_item_permissions_check', $retval, $request ); } /** * Deletes the current user. * * @since 5.0.0