LLMS_Abstract_API_Handler::__construct( stirng $resource, array $data, string $method = null )

Construct an API call, parameters are passed to private call() function


Parameters Parameters

$resource

(stirng) (Required) url endpoint or resource to make a request to

$data

(array) (Required) array of data to pass in the body of the request

$method

(string) (Optional) method of request (POST, GET, DELETE, PUT, etc...)

Default value: null


Top ↑

Return Return

(void)


Top ↑

Source Source

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

	public function __construct( $resource, $data, $method = null ) {

		$this->call( $resource, $data, $method );

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.11.2 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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