Support » Plugin: Comment Moderation E-mail only to Author » email customisation

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Miguel, with this plugin it is not possible. However, if you create your own plugin based on this one, you might be able to get what you want… Do you know some basic PHP? Or do you know anyone that can help you with that? If so, then take a look at this plugins content. It’s just one file with just one function. Nothing else.

    The function is basically a copy of the so-called “pluggable” WordPress internal function wp_notify_moderator. Pluggable means that the function can be replaced simply by creating a new function with exactly the same name in any plugin or theme.

    In the case of my plugin, I took the original function and only changed how the string $email_to is created so that the notifications are sent to the post author but not the administration address.

    In your case, you want to modify the function a bit further by removing or changing some of the lines responsible for the URLs in the email.

    Then uninstall my plugin and place your modified file (only the file, not the plugin dir) in /wp-content/mu-plugins/

    Hope that helps šŸ™‚

    Thread Starter Ismael Latorre

    (@miguelripoll)

    Will do, thanks a bunch!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘email customisation’ is closed to new replies.