LLMS_Dot_Com_API::set_request_url( string $resource, string $method )

Set the request URL

Parameters Parameters


(string) (Required) requested resource


(string) (Required) request method

Top ↑

Return Return


Top ↑

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 );

Top ↑

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.