• Resolved Tony G

    (@starbuck)


    A very typical situation: I’ve added a plugin to a site. It does its own notifications based on its own triggers. Can we hook wp_mail and use BNFW to modify such emails before they go out?

    It would be nice (might already exist?) to be able to create custom notifications where BNFW gives us an ID, and then we hook wp_mail early to identify mail items of interest, and inject that ID into a new X-BNFW header. Then BNFW will see that header and ID, process the notification, and remove the header before it goes out the door.

    Or … can you suggest a way for us to do this on our own with BNFW, aside from just hard-coding our own solution?

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author bnfw

    (@voltronik)

    Hi @starbuck,
    Thanks for your message.

    Unfortunately this isn’t a feature that BNFW has or will likely have in the future. The aim of the plugin is to make it easier for the average WordPress user. Developers may be better off with a different solution, or write their own custom code.

    Sorry I can’t help more.

Viewing 1 replies (of 1 total)
  • The topic ‘Hooking BNFW for other plugins’ is closed to new replies.