Have you investigated other login widgets that have this feature? For example https://wordpress.org/plugins/login-sidebar-widget/
The alternative is to raise a feature request on Trac https://buddypress.trac.wordpress.org/
Really? You just want me to add another plugin? Lost-password isn’t a feature you already offer??
Another plugin is the path of least resistance if you don’t know how to code, don’t want to learn and don’t have a developer.
Adding the lost-password link is easy.
Just use one of the action hooks in the class for that widget.
I suggest you use this hook: do_action( 'bp_login_widget_form' );
For the hook context, see this file:
buddypress\bp-core\classes\class-bp-core-login-widget.php
If you don’t know how to code, share the hook info with your developer.
Makes sense thanks. I am a student of coding, I don’t have a developer.
So I add:
do_action( ‘bp_login_widget_form’ );
to the class-bp-core-login-widget.php file?
or is there more I need to add along with that hook? I really appreciate your help.
Please use the code
button when posting code.
Did you look at the class? Did you see the hooks in the class?
You don’t add the hook, you use the hook – do_action.