Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how could we edit the approval message? #86

Open
saidhappy010 opened this issue Jun 3, 2021 · 0 comments
Open

how could we edit the approval message? #86

saidhappy010 opened this issue Jun 3, 2021 · 0 comments

Comments

@saidhappy010
Copy link

saidhappy010 commented Jun 3, 2021

Hi
I am in the process of modifying the account approval message as per the client's need.
I added this piece of code.

add_filter( 'new_user_approve_pending_message', 'edit_approval_message');
function edit_approval_message( $message ) {
$message = __( '<strong>info</strong>: My custome message.');
return $message;
}
unfortunately it doesn't work, even the default message no longer appears
please help me,
I need it.
thank you so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant