Support » Plugins and Hacks » Hacks » How to add usleep to class-phpmailer.php by plugin?

  • Each time after WP-update I have to modify class-phpmailer.php to add there 4 times this:
    usleep(300000);

    I need this to get/send all of the letters. Could you help me pls – what (code) should I put into a plugin (I am creating my own plugin for some things) to to add usleep to class-phpmailer.php by plugin(/hooks or smth else)?

Viewing 1 replies (of 1 total)
  • class-phpmailer.php is a third party library used by WordPress. There aren’t any hooks in it.

    If you can explain what you are doing and why you need to add usleep() (and where in the code) maybe there is a solution.

Viewing 1 replies (of 1 total)
  • The topic ‘How to add usleep to class-phpmailer.php by plugin?’ is closed to new replies.