You are here

function _mimemail_replace_files in Mime Mail 5

Same name and namespace in other branches
  1. 6 mimemail.inc \_mimemail_replace_files()
  2. 7 mimemail.inc \_mimemail_replace_files()

Callback for preg_replace_callback()

1 string reference to '_mimemail_replace_files'
mimemail_extract_files in ./mimemail.inc
Extracts links to local images from html documents.

File

./mimemail.inc, line 105

Code

function _mimemail_replace_files($matches) {
  return stripslashes($matches[1]) . _mimemail_file($matches[2]) . stripslashes($matches[3]);
}