Support » Plugin: License Manager for WooCommerce » Get license to show up in custom thank you page

  • Resolved rickvandijck


    Hi there,

    First of all, thanks for writing this awesome (and free) plugin!
    I’ve been loving how smooth and advanced it works, but I do miss something, or at least don’t know how to get it working.

    I’m using a custom thank you plugin for WooCommerce to show after a order is completed. Is there any way (shortcode) to show the license key linked to the order using your plugin?

    Thanks in advance!

    Kind regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Drazen Bebic


    Hello @rickvandijck

    Thank you for your message and for using my plugin.

    Currently there is no integration into any other plugins besides WooCommerce. However, what you’re probably looking for is a way to obtain licenses based on an order ID.

    There currently is no shortcode for this, there’s a function which will return all license keys for a specific order ID: lmfwc_get_licenses(). It takes one argument, which is an array of column key/value pairs which will be used in the “WHERE” statement. Example:

    $licenses = lmfwc_get_licenses(array('order_id' => 13));

    This will return all licenses which belong to the order with the ID “13”. Here’s the doc entry:

    Let me know if you need further help

    Plugin Author Drazen Bebic


    Closed due to inactivity.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.