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_Addon_License::api_url( string $action )
api_url
On This Page
Description Description
Creates a URL to the plugin store where this license can be renewed.
Parameters Parameters
- $action
-
(string) (Required)
Return Return
(string) A URL
Source 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() ) ); }
Expand full source codeCollapse full source codeView on Github