bp_rest_api_init()

Fire the ‘bp_rest_api_init’ action, where BuddyPress registers REST API endpoints.

Description

Source

File: bp-core/bp-core-dependency.php

function bp_rest_api_init() {

	/**
	 * Fires the 'bp_rest_api_init' function, where BuddyPress registers REST API endpoints.
	 *
	 * @since BuddyPress 2.6.0
	 */
	do_action( 'bp_rest_api_init' );
}

Changelog

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