do_action( 'bp_rest_reply_create_item', array $reply, array $topic_id, array $forum_id, WP_REST_Request $request )

Fires after a reply is created via the REST API.

Description

Parameters

$reply

Created reply.

$topic_id

Reply's topic ID.

$forum_id

Reply's form ID.

$request

The request sent to the API.

Source

File: bp-forums/classes/class-bp-rest-reply-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.