Removing sensitive information from comment notifications – notify_post_author

There is a hook that should let you alter that data– comment_notification_text. add_action( ‘comment_notification_text’, function($notify_message,$comment_id) { var_dump($notify_message,$comment_id); die; }, 10,2 ); You could parse that $notify_message string and remove the parts you don’t want. add_filter( ‘comment_notification_text’, function($notify_message) { $notify_message = explode(“\n”,$notify_message); foreach ($notify_message as $k => $line) { $header = trim(substr($line,0,strpos($line,’:’))); switch ($header) { case … Read more

Override email_exists function

Note: The reason this doesn’t work for the OP is the use of woocommerce, otherwise, so in regards of core WordPress functionality, this should be working as described. Update: I assumed it is about emails on registration. Good thing you specified your needs. WordPress tries – several checks are performed – to add the new … Read more

Bug in pluggable.php? [closed]

So the maintainers of the file are the WordPress team – this is a core WordPress file. : ) That being said, the code is not the problem here, per say. I’m not sure how the old file worked around the issue, but the problem is that you’re trying to send an email without a … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)