Actions reference

lmfwc_event_post_order_license_keys

Estimated reading: 1 minute 2196 views

DESCRIPTION

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

PARAMETERS

Name Type Description
$args array Associative 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]
Share this Doc

lmfwc_event_post_order_license_keys

Or copy link

CONTENTS
Scroll to Top
license manager plugin
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.