apply_filters( 'bp_rest_profile_dropdown_prepare_children', object $child_navigation, WP_REST_Request $request, array $data )

Filter sub navigation returned from the API.

Description

Parameters

$child_navigation

Child navigation.

$request

Request used to generate the response.

$data

An array of sub navigation.

Source

File: bp-members/classes/class-bp-rest-members-details-endpoint.php

Changelog

Changelog
Version Description
0.1.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.