Add custom content in attachment area of units

In this tip we will try to add a custom button with external link.

1. Add this code in your wp-content/plugins/wplms-customizer/wplms-customizer.php.

This code will create a metabox in unit settings( in wp-admin edit unit page):

Now you can put a link in “link” metabox in unit settings from back-end (i.e. wp-admin edit unit page) and that link will be showed on the button.


Was this article helpful?

Related Articles