_wp_iso_convert

函式
_wp_iso_convert ( $match )
Access
Private
引數
  • (array) $match The preg_replace_callback matches array.
    Required:
返回值
  • (string) Converted chars.
定義位置
相關方法
wp_list_sortwp_is_recovery_modewp_list_commentswp_json_encode_wp_cron
引入
3.1.0
棄用
-

_wp_iso_convert: 這個函式將一個字串從ISO-8859-1編碼轉換為UTF-8編碼。

將十六進位制編碼的字元轉換為ASCII的輔助函式。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function _wp_iso_convert( $match ) {
return chr( hexdec( strtolower( $match[1] ) ) );
}
function _wp_iso_convert( $match ) { return chr( hexdec( strtolower( $match[1] ) ) ); }
function _wp_iso_convert( $match ) {
	return chr( hexdec( strtolower( $match[1] ) ) );
}

常見問題

FAQs
檢視更多 >