Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Inventory_Presser_License::api_url( string $action )

api_url


Description Description

Creates a URL to the plugin store where this license can be renewed.


Top ↑

Parameters Parameters

$action

(string) (Required)


Top ↑

Return Return

(string) A URL


Top ↑

Source Source

File: includes/class-license.php

		private function api_url( $action ) {
			return sprintf(
				'%s?edd_action=%s&item_id=%s&license=%s&url=%s',
				self::STORE_URL,
				$action,
				$this->product_id,
				$this->license_key,
				urlencode( home_url() )
			);
		}