Opened 11 years ago

Closed 6 years ago

#124 closed enhancement (worksforme)

Create a proper plugin API

Reported by: samuelsidler's profile samuelsidler Owned by:
Milestone: Priority: lowest
Component: API Keywords:


While a plugins API exists, it's not a real API (doesn't return JSON for example) and it's not meant to be publicly used as much as it is. We should consider creating a real, proper plugin API meant for public usage.

Change History (7)

#2 @johnbillion
10 years ago

  • Cc johnbillion@… added

#5 @markoheijnen
8 years ago

Is there already any idea when this could be implemented? Currently trying/wanting to use it in a node.js application.

Related: #wp25692

#6 follow-up: @obenland
6 years ago

Does count as a proper API?

It's not perfect, but should do the job for now.

#7 in reply to: ↑ 6 @dd32
6 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

Replying to obenland:

Does count as a proper API?

I would like to note, that using plugins/wp-json/v2/plugin shouldn't be relied upon, and may be disabled or limited in ways in the future in the event it causes issues (It's not cached the same way as does)

Please try to use* for most things, which IMHO, is plenty proper.'

I'm going to close this, purely because I don't think we actually need anything further here.

Note: See TracTickets for help on using tickets.