LLMS_Abstract_API_Handler::set_user_agent( string $user_agent, string $resource, string $method )
Set the request User Agent Can be overridden by extending classes when necessary
Parameters Parameters
- $user_agent
-
(string) (Required) default user agent (LifterLMS {$version})
- $resource
-
(string) (Required) requested resource
- $method
-
(string) (Required) request method
Return Return
(string)
Source Source
File: includes/abstracts/llms.abstract.api.handler.php
protected function set_user_agent( $user_agent, $resource, $method ) { return $user_agent; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.22.0 | Introduced. |