[wp-trac] [WordPress Trac] #58849: Document supported $args for register_rest_route()
WordPress Trac
noreply at wordpress.org
Wed Apr 30 10:08:39 UTC 2025
#58849: Document supported $args for register_rest_route()
-----------------------------+-----------------------------
Reporter: danielbachhuber | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: docs
-----------------------------+-----------------------------
Comment (by vishalkakadiya):
I agreed with @johnbillion, documenting the `$args` parameter is complex
due to its flexibility as it can accept a variety of configurations,
including nested arrays for complex parameters, making it challenging to
provide exhaustive documentation.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58849#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list