apply_filters( 'bp_rest_topic_object', object $topic, WP_REST_Request $request )

Filter topic data before inserting user via REST API

Description

Parameters

$topic

Topic object.

$request

Request object.

Source

File: bp-forums/classes/class-bp-rest-topics-endpoint.php

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.