Inventory_Presser_Addon_Updater::__construct( string $_api_url, string $_plugin_file, array $_api_data = null )

Class constructor.


Parameters Parameters

$_api_url

(string) (Required) The URL pointing to the custom API endpoint.

$_plugin_file

(string) (Required) Path to the plugin file.

$_api_data

(array) (Optional) data to send with API calls.

Default value: null