LLMS_Dot_Com_API::set_request_url( string $resource, string $method )
Set the request URL
Parameters Parameters
- $resource
-
(string) (Required) requested resource
- $method
-
(string) (Required) request method
Return Return
(string)
Source Source
File: includes/class.llms.dot.com.api.php
protected function set_request_url( $resource, $method ) {
$url = 'https://lifterlms.com';
if ( $this->is_rest_request() ) {
$url .= '/wp-json/llms/v3';
}
return apply_filters( 'llms_dot_com_api_request_url', $url . $resource, $resource, $method, $this );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.22.0 | Introduced. |