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_Addon_License::api_url( string $action )

api_url


Description

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


Parameters

$action

(string) (Required)


Return

(string) A URL


Source

File: includes/addon/class-addon-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() )
			);
		}