Actions Reference

lmfwc_event_post_order_license_keys

DESCRIPTION

This action fires after license keys have been sold. The hook fires for license keys that have been generated, as well as license keys that have been sold from stock.

PARAMETERS

NameTypeDescription
$argsarrayAssociative array containing two keys: orderId and licenses.

USAGE

php]add_action('lmfwc_event_post_order_license_keys', function($args) {
  $orderId = $args['orderId'];
  $licenses = $args['licenses'];
  foreach ($licenses as $license) {
    // Do something
  }
});[/php]

On this page

    Scroll to Top
    license Manager For WooCommerce

    Privacy Overview

    This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.