Add filter to custom profile
-
I have added fields to the registration page and am checking for errors using a function and a filter as shown in the docs, and it’s working well.
Now I’m trying to do the same thing on a custom profile page, but
$template->the_errors()
doesn’t produce an error, even when it should.Digging into the code, if I add
echo $output
to line 227 ofincludes/class-theme-my-login-template.php
(in theget_errors()
function, right beforereturn $output
), the error message I’m looking for is displayed, and yet$this->get_errors()
returns nothing.How can I check for and display errors on a custom profile page?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Add filter to custom profile’ is closed to new replies.