Adding Custom Unit Type

1. Go to WP ADmin -> Plugins -> Editor -> WPLMS Customizer -> customizer_class.php
2. Add the below code in _construct function

PHP Code:

3. Add below function in the class :

PHP Code:

In above Label is the name you see in the select box for unit type and replace the icon from this link (scroll to the bottom of the page and copy the icon name) :

http://vibethemes.com/envato/wplms/wp-content/themes/wplms/css/icons-reference.html

Was this article helpful?

Related Articles