Filter for changing the Log-In heading is not working
-
Hello,
I used the filter wpmem_login_form to attempt to edit the Heading of the log-in form on my site. I want to change it from “existing users log in” to “Course Log In”
I’ve tried many different string replaces and this was the only one that didn’t give me an error, but also did not make any changes.
I have tried many different modifications to the codes and filters with no success. Please advise.
https://www.jorgewellness.com/
add_filter( 'wpmem_login_form', 'my_login_form_filter', 10, 2 ); ? function my_login_form_filter( $form, $action ) { ????/** ?????* The login form is brought in with $form ?????* You can append to it or filter it ?????* ?????* $action specifies the form being constructed. It ?????* can be: login|pwdreset|pwdchange ?????*/ ??? global $wpmem_a; ????? ????$form = str_replace( ’Existing Users Log In’, ‘Course Log in’, $form ); ????? ????return $form; }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Filter for changing the Log-In heading is not working’ is closed to new replies.