WordPress.org

Forums

SendGrid
[resolved] check for function's existence (2 posts)

  1. alpha1beta
    Member
    Posted 1 year ago #

    Many People already have a function "set_html_content_type". Its an example in the codex and widely used. Please wrap your function in
    if(!function_exists('set_html_content_type')){

    Fatal error: Cannot redeclare set_html_content_type() (previously declared in themes/construct/functions.php:358) in plugins/sendgrid-email-delivery-simplified/wpsendgrid.php on line 429

    http://wordpress.org/plugins/sendgrid-email-delivery-simplified/

  2. SendGrid INC
    Member
    Plugin Author

    Posted 1 year ago #

    We added this change, now you can update your plugin. Thanks for reporting it!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SendGrid
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.