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


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/abstracts/llms.abstract.api.handler.php

	protected function set_user_agent( $user_agent, $resource, $method ) {
		return $user_agent;
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.22.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.