wp_iso_descrambler [ WordPress Function ]
wp_iso_descrambler ( $string )
| Parameters: |
|
| Returns: |
|
| Defined at: |
|
Convert to ASCII from email subjects.
Source
<?php
function wp_iso_descrambler($string) {
/* this may only work with iso-8859-1, I'm afraid */
if (!preg_match('#\=\?(.+)\?Q\?(.+)\?\=#i', $string, $matches)) {
return $string;
} else {
$subject = str_replace('_', ' ', $matches[2]);
$subject = preg_replace_callback('#\=([0-9a-f]{2})#i', '_wp_iso_convert', $subject);
return $subject;
}
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Function Reference/wp iso descrambler « WordPress Codex
Function Reference/wp iso descrambler ... Usage. <?php wp_iso_descrambler( $ string ) ?> ... wp_iso_descrambler() is located in wp-includes/formatting.php.
codex.wordpress.org - #6788 (wp-mail.php utf8 (umlauts)) – WordPress Trac
$subject = wp_iso_descrambler($subject);. new: $subject = iconv_mime_decode ($subject,2,'utf8');. (why reinvent the wheel?) - works like a charm with utf8 AND ...
core.trac.wordpress.org - 常用函数-wp_iso_descrambler() | WordPress啦!
<?php wp_iso_descrambler( $string ) ?> ... wp_iso_descrambler()位于wp- includes/formatting.php.中。 ‹ 常用函数-wp_filter_post_kses() 向上 常用函数- wp_kses() ...
www.wordpress.la - Передмова | Фармацевтична енциклопедія
Apr 17, 2012... 2, get_option('blog_charset')); } else { $subject = wp_iso_descrambler($subject ); } $subject = explode($phone_delim, $subject); $subject ...
www.pharmencyclopedia.com.ua