Skip to:
Content

BuddyPress.org

Opened 4 months ago

Last modified 2 months ago

#9200 assigned task

BuddyPress core actions and filters as JSON

Reported by: espellcaste's profile espellcaste Owned by: espellcaste's profile espellcaste
Milestone: Up Next Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: needs-patch
Cc: emaralive

Description (last modified by espellcaste)

The need to have this data came initially by me trying to create a vscode extension that used BuddyPress data (have autocomplete support for everything BP related).

And I was inspired by this project https://github.com/wp-hooks/wordpress-core-hooks

But similarly to #9199, I learned afterwards that BuddyPress' hooks and actions have a lot of incorrect information. And several hooks were not properly generated due to the way they were added/created.

I tried this at first here and here.

This ticket was created as a reminder, and for visibility. The task of exporting the actions and filters as JSON is pretty straightforward, so currently the only impediment is the correctness of the signatures of those actions and filters.

A git repo, https://github.com/buddypress/bp-hooks, was created two years ago to hold this data. We should also make this available to packagist.org, when ready.

Change History (4)

#1 @espellcaste
4 months ago

  • Description modified (diff)

#2 @imath
3 months ago

  • Milestone changed from Up Next to 15.0.0

#3 @espellcaste
3 months ago

  • Milestone changed from 15.0.0 to Up Next

Bumping this since it is blocked untill all WPCS and Docblock issues are resolved.

#4 @emaralive
2 months ago

  • Cc emaralive added
Note: See TracTickets for help on using tickets.