WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. spearhead
    Member
    Posted 1 year 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?

    http://wordpress.org/extend/plugins/wpmandrill/

  2. MC_Will
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    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,
    Will

  3. spearhead
    Member
    Posted 1 year 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

About this Topic