Customizing Date labels used in the Theme.

In WPLMS 1.5.3 we’ve now added a hook to customize the durations in your own labels.

These are labels such as Year, Month, week, day, hour, minute, second , since these are taken directly from conversion of time, these could not be added into translation files.

Using this tip you can customize the names of these labels using WPLMS Customizer plugin.

0. Install the WPLMS Customizer plugin.

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

PHP Code:

3. Add following code in the class :

PHP Code:

 

Was this article helpful?

Related Articles