Changes between Initial Version and Version 1 of Ticket #44152, comment 2
- Timestamp:
- 05/18/2018 09:55:58 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #44152, comment 2
initial v1 13 13 Best case scenario I'd say would be to add a `rest_namespace` field to the custom post type. That way, a full REST url could be built from the object itself, rather than just the part after the namespace. 14 14 15 That, or implement a public staticgetter method for the namespace of `WP_REST_Controller`.15 That, or implement a public getter method for the namespace of `WP_REST_Controller`.