Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Command::get_base_route()
Get the base route for this resource
Contents
Return Return
(string)
Source Source
File: libraries/lifterlms-cli/src/Commands/Restful/Command.php
private function get_base_route() { return substr( $this->route, 0, strlen( $this->route ) - strlen( $this->resource_identifier ) ); }
Expand full source code Collapse full source code View on GitHub