Yoast_Product constructor.
public __construct ( string $api_url, string $item_name, string $slug, string $version, string $item_url = '', string $license_page_url = '#', string $text_domain = 'yoast', string $author = 'Yoast', string $file = '', integer $product_id ) | ||
$api_url | string | The URL of the shop running the EDD API. |
$item_name | string | The item name in the EDD shop. |
$slug | string | The slug of the plugin, for shiny updates this needs to be a valid HTML id. |
$version | string | The version number of the item. |
$item_url | string | The absolute url on which users can purchase a license. |
$license_page_url | string | Absolute admin URL on which users can enter their license key. |
$text_domain | string | The text domain used for translating strings. |
$author | string | The item author. |
$file | string | The relative file path to the plugin. |
$product_id | integer | The ID of the product in the backend system. |