WordPress.org

Support

Support » Plugins and Hacks » Notifly » [Plugin: Notifly] strip shortcodes from email

[Plugin: Notifly] strip shortcodes from email

Viewing 2 replies - 1 through 2 (of 2 total)
  • Is there any sort of workaround for this? I am not a programmer, but would love to be able to use the function strip_shortcodes, if only I knew where to put it 🙂

    Thanks – Laura

    Hi Laura-

    Just do a search and replace in the plugin file notifly.php for:

    $comment->comment_content

    and replace it with

    strip_shortcodes( $comment->comment_content )

    I haven’t actually done it myself but that should do the trick. Make sure to test it out afterwards. Also be aware that next time the plugin is updated, this change will be lost.

    Reference: http://codex.wordpress.org/Function_Reference/strip_shortcodes

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Notifly] strip shortcodes from email’ is closed to new replies.
Skip to toolbar