gocodebox / lifterlms

LifterLMS, a WordPress LMS Solution: Easily create, sell, and protect engaging online courses.
https://lifterlms.com
GNU General Public License v3.0
181 stars 135 forks source link

Add filter for content displayed when no courses are available #2365

Closed seothemes closed 1 year ago

seothemes commented 1 year ago

A customer asked if it's possible to change the You are not enrolled in any courses. text that is displayed when no courses are available.

It would be nice to add a dedicated filter for this here, and possibly an option somewhere to make it easier for users to add custom content.

Currently the only way to change this is with the use of the gettext (or gettext_lifterlms) filter, which is kind of a hack.

jaedm97 commented 1 year ago

Hi @eri-trabiccolo

I would like to implement this issue. We can provide both options for the users:

Let me know your opinion. Thanks.

actuallyakash commented 1 year ago

Hey @jaedm97

Thank you for reaching out for your contribution. I didn't see your comment before working on this issue 😅

Let me discuss with the team if we need a setting in the backend for non-tech users and then you can go ahead and make your contribution. Thanks.