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

Retrieves the license activation response from the plugin store.

Parameters Parameters


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


(Required) The post ID of the download on


(Required) The license key sold to the user.

Top ↑

Return Return


Top ↑

Source Source

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