| | |
| | | } |
| | | |
| | | /** |
| | | * @deprecated use Rest.php |
| | | * Handles route registration and high-level coordination |
| | | */ |
| | | abstract class RestRouteManager |
| | |
| | | protected string $route; |
| | | protected string $base; |
| | | protected string $content_type; //the registered post type |
| | | protected string $type; //post, user, term, for MetaManager |
| | | protected string $type; //post, user, term, for Meta |
| | | protected string $action = ''; //optional additional nonce to check |
| | | protected array $callback; //route->callback array |
| | | protected string $operation_type; // from QueueManager.js and OperationQueue.php |