LLMS_REST_API_Key::__construct( int $id = null, bool $hydrate = true )

Constructor


Parameters Parameters

$id

(int) (Optional) API Key ID.

Default value: null

$hydrate

(bool) (Optional) If true, hydrates the object on instantiation if an ID is supplied.

Default value: true


Top ↑

Source Source

File: libraries/lifterlms-rest/includes/models/class-llms-rest-api-key.php

	public function __construct( $id = null, $hydrate = true ) {

		$this->id = $id;
		if ( $this->id && $hydrate ) {
			$this->hydrate();
		}

	}


Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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