[resolved] Emails sent out via wpMandrill are tagged as 'wp_call_user_func_array' (3 posts)

  1. spearhead
    Posted 3 years ago #

    Emails sent out via wpMandrill are tagged as 'wp_call_user_func_array'. I am not sure why this automatic tagging is happening, that too referencing a WordPress function. Any suggestions on removing this annoying automatic tagging?


  2. MC_Will
    Plugin Author

    Posted 3 years ago #


    Automatic tagging of emails is part of the features of wpMandrill.

    This process is done by analyzing the stack trace of calls made by the time wp_mail is called.

    So this is why you have tags like wp_retrieve_password wp_newuser_notification, etc.

    Sometimes, wpMandrill can't find the exact function used to call wp_main. In this case, wpMandrill uses 'wp_call_user_func_array'.

    You can change this behavior by using the wp_mandrill_payload wordpress filter. Remove, add or change any tag you want or need. The 'tag' parameter of the payload, is an array of three values: General, Automatic and User.

    I hope it helps,

  3. spearhead
    Posted 3 years ago #

    Thanks for the directions. I see an example of wp_mandrill_payload in the how-tos accompanying the plugin. Will look into it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • wpMandrill
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic