Returns the API route this action uses.
Description
See also
Return
(APIAPI\Core\Structures\Route) The API route.
Source
File: src/modules/actions/api-action.php
protected function api_route() { if ( null === $this->lazyloaded_api_route ) { $this->lazyloaded_api_route = $this->api_structure()->get_route_object( $this->api_route_uri ); } return $this->lazyloaded_api_route; }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |