[buddypress-trac] [BuddyPress Trac] #8490: Helper to get a REST API object URL from a component.
buddypress-trac
noreply at wordpress.org
Sat Jun 19 01:50:10 UTC 2021
#8490: Helper to get a REST API object URL from a component.
-------------------------+-------------------------
Reporter: espellcaste | Owner: espellcaste
Type: enhancement | Status: assigned
Priority: normal | Milestone: 9.0.0
Component: REST API | Version: 8.0.0
Severity: normal | Keywords: has-patch
-------------------------+-------------------------
This is a little helper to grab a REST API url from a specific object.
Currently we have `bp_rest_get_user_url` but for other components, we need
to build the url every single time.
We are doing lots of code duplication in the REST API plugin that could be
improved using a more improved helper function.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8490>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list