WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] How to perform my own function in place of a WP function

[Resolved] How to perform my own function in place of a WP function

  • I am running BuddyPress and I do not want the standard BP email notice to go out to a user when I add them — I want my own customized email to go out.

    So I commented out a line of code “wp_email()” in ../wp-includes/pluggable.php

    But I would rather just have my own function performed rather than BuddyPress’ so I don’t have to edit the source code every time I do an version upgrade.

    can I use add_action() or change_action() somehow to evoke my own function instead of function wp_new_user_notification($user_id, $plaintext_pass = '') {} ?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] How to perform my own function in place of a WP function’ is closed to new replies.
Skip to toolbar