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_Validator::api_url( string $action, string $product_id, string $license_key )

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



(string) (Required) One of 'activate_license' or 'check_license'.


(string) (Required) The post ID of the download on


(string) (Required) The license key sold to the user.


(string) A URL


File: includes/addon/class-addon-license-validator.php

		private static function api_url( $action, $product_id, $license_key ) {
			return sprintf(
				rawurlencode( home_url() )