Digital Sovereignty for everyone

Hooks

Filters

lh_multipart_email_destroy_phpmailer

Default false. When several emails are sent in one request, WordPress reuses its PHPMailer object, and the plain text part from one email would otherwise carry over to the next. By default the plugin just clears that plain text part. Return true to destroy the PHPMailer object instead, so WordPress builds a fresh one for the next email; if WP Mail SMTP is active, its mailer is recreated in its place. Before 1.15.0 this filter was named lh-multipart-email_destroy-phpmailer.

add_filter( 'lh_multipart_email_destroy_phpmailer', '__return_true' );

lh_multipart_email_return_plugin_debugging_status

Default false. Return true to write the plugin’s log lines to debug.log; WP_DEBUG must also be true.

Actions

lh_multipart_email_phpmailer_reinitialized

Fires after the PHPMailer object has been cleared or destroyed between two emails sent in the same request, for code that needs to work with the mailer at that point. Before 1.15.0 this action was named lh-multipart-email_phpmailer_reinitialized.

If you like this plugin please consider making a donation to further development

Install LHero.org

lhero.org

Open it straight from your home screen, full screen and quicker to load.

  1. Tap the Share button . If you cannot see it, tap ••• first.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add.
  1. Tap the browser menu â‹®.
  2. Tap Install app or Add to Home screen.
  1. In the menu bar, choose File, then Add to Dock.

Use your browser's menu to install this site or add it to your home screen.