Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #44152, comment 2


Ignore:
Timestamp:
05/18/2018 09:55:58 PM (7 years ago)
Author:
dsifford
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44152, comment 2

    initial v1  
    1313Best 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.
    1414
    15 That, or implement a public static getter method for the namespace of `WP_REST_Controller`.
     15That, or implement a public getter method for the namespace of `WP_REST_Controller`.