Skip to:

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#7032 closed defect (bug) (fixed)

new action: bp_rest_api_init

Reported by: djpaul's profile DJPaul Owned by: djpaul's profile djpaul
Milestone: 2.6 Priority: normal
Severity: normal Version:
Component: Core Keywords:


I want to add a new action bp_rest_api_init hooked to WP's rest_api_init so REST API endpoint implementations requiring can hook themselves to this and avoid making some other check to see if BuddyPress exists. Much like we do for many other common actions.

Change History (3)

#1 @boonebgorges
8 years ago

Fine to introduce it, especially for use by plugins. I think we should be cautious when deciding to use it internally (we don't need to check whether BP exists - we are BP).

#2 @djpaul
8 years ago

  • Owner set to djpaul
  • Resolution set to fixed
  • Status changed from new to closed

In 10719:

Add new bp_rest_api_init filter for future use by our REST API integration.

Fixes #7032

#3 @DJPaul
8 years ago

  • Component changed from API to Core
Note: See TracTickets for help on using tickets.