Title: Update Licenses
Last modified: August 26, 2021

---

# Update Licenses

 *  Resolved [dimitrislalas](https://wordpress.org/support/users/dimitrislalas/)
 * (@dimitrislalas)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/update-licenses/)
 * Hello!!I want to add a function that a user can update his licence key.I saw 
   that you already have a function that does this.Can you help me on how to implement
   this into my site.Like you did with activate and deactivate buttons in my account
   page.Thank you!

Viewing 1 replies (of 1 total)

 *  [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * (@arsalantariq)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/update-licenses/#post-14958556)
 * Hi [@dimitrislalas](https://wordpress.org/support/users/dimitrislalas/),
 * Thank you for contacting us,
 * You can use these functions to activate or deactivate the license keys by passing
   the license key as an argument.
 * `function lmfwc_activate_license(string $licenseKey)`
    `function lmfwc_deactivate_license(
   string $licenseKey)`
 * Thanks & Regards

Viewing 1 replies (of 1 total)

The topic ‘Update Licenses’ is closed to new replies.

 * ![](https://ps.w.org/license-manager-for-woocommerce/assets/icon-256x256.gif?
   rev=2824216)
 * [License Manager for WooCommerce](https://wordpress.org/plugins/license-manager-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/license-manager-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/license-manager-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/license-manager-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/license-manager-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/license-manager-for-woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/update-licenses/#post-14958556)
 * Status: resolved