Warning: Trying to access array offset on value of type bool in /www/wwwroot/xiaoyi.vc/wp-content/themes/kratos-pjax-master/inc/imgcfg.php on line 64
WordPress 函数:esc_attr__

WordPress 函数:esc_attr__

获取翻译之后的文本,然后使用 esc_attr() 函数进行转化和过滤,如果没有相关翻译或者翻译对应的域没有加载,则返回原始文本 esc_attr() 过滤的文本。 用法 <?php esc_attr__( $te…


Warning: Trying to access array offset on value of type bool in /www/wwwroot/xiaoyi.vc/wp-content/themes/kratos-pjax-master/inc/imgcfg.php on line 64
WordPress 函数:esc_attr_e

WordPress 函数:esc_attr_e

显示翻译的文本,并且转义之后适合标签值中使用。 用法 <?php esc_attr_e( $text, $domain ) ?> 参数 $text (string) (required) 将编码成实体的文本。…


Warning: Trying to access array offset on value of type bool in /www/wwwroot/xiaoyi.vc/wp-content/themes/kratos-pjax-master/inc/imgcfg.php on line 64
WordPress 函数:esc_attr

WordPress 函数:esc_attr

将 < > & " '(小于号,大于号,&,双引号,单引号)编码,转成HTML 实体,已经是实体的并不转换。 在转义 HTML 属性的时候经常用这个函数(特别是表单的值,比如alt, valu…


Warning: Trying to access array offset on value of type bool in /www/wwwroot/xiaoyi.vc/wp-content/themes/kratos-pjax-master/inc/imgcfg.php on line 64
WordPress 函数:ent2ncr

WordPress 函数:ent2ncr

将名称实体(named entities)的字符集转换成编号实体(numbered entities)的字符集。 用法 <?php ent2ncr( $text ) ?> 参数 $text (string) …


Warning: Trying to access array offset on value of type bool in /www/wwwroot/xiaoyi.vc/wp-content/themes/kratos-pjax-master/inc/imgcfg.php on line 64
WordPress 函数:convert_smilies

WordPress 函数:convert_smilies

转换如 :-)、:-P 等文本表情符号为图像 只有 'use_smilies' 选项被设置为 true 并且函数中的全局变量不为空的时候才转换 用法 <?php convert_smilies( $text ) ?…


Warning: Trying to access array offset on value of type bool in /www/wwwroot/xiaoyi.vc/wp-content/themes/kratos-pjax-master/inc/imgcfg.php on line 64
WordPress 函数:convert_chars

WordPress 函数:convert_chars

转换一些字符: <title> 和 <category> 这些标签将会被删除 <br> 和 <hr> 被转换成 <br /> 和 <hr /> 这样…


Warning: Trying to access array offset on value of type bool in /www/wwwroot/xiaoyi.vc/wp-content/themes/kratos-pjax-master/inc/imgcfg.php on line 64
WordPress 函数:balanceTags

WordPress 函数:balanceTags

根据 forced 参数或者 use_balanceTags 选项平衡补齐标签。 'use_balanceTags' 选项或者 $forced 参数任何一个设置为 true,该函数就会补齐文本的标签。 调用 force_…


Warning: Trying to access array offset on value of type bool in /www/wwwroot/xiaoyi.vc/wp-content/themes/kratos-pjax-master/inc/imgcfg.php on line 64
WordPress 函数:backslashit

WordPress 函数:backslashit

在每个字母或者数字前面添加 \ 用法 <?php backslashit( $string ) ?> 参数 $string (string) (required) 将添加 \ 的字符串 Default: 五 …


Warning: Trying to access array offset on value of type bool in /www/wwwroot/xiaoyi.vc/wp-content/themes/kratos-pjax-master/inc/imgcfg.php on line 64
WordPress 函数:antispambot

WordPress 函数:antispambot

将 Email 地址的字符转化成 HTML entities 以便防止垃圾邮件。 用法 <?php antispambot( $emailaddy, $mailto ) ?> 参数 $emailaddy (s…


Warning: Trying to access array offset on value of type bool in /www/wwwroot/xiaoyi.vc/wp-content/themes/kratos-pjax-master/inc/imgcfg.php on line 64
WordPress 函数:add_magic_quotes

WordPress 函数:add_magic_quotes

过滤数组中的每一个元素,并且可以递归过滤。 用法 <?php add_magic_quotes( $array ) ?> 参数 $array (array) (required) 需要过滤的数组。 Defau…


Warning: Trying to access array offset on value of type bool in /www/wwwroot/xiaoyi.vc/wp-content/themes/kratos-pjax-master/inc/imgcfg.php on line 64
WordPress 函数:addslashes_gpc

WordPress 函数:addslashes_gpc

给转义的字符串添加 / 如果 PHP 中设置了 magic-quotes-gpc,首先把所有 / 删除。 用法 <?php addslashes_gpc( $gpc ) ?> 参数 $gpc (string)…


Warning: Trying to access array offset on value of type bool in /www/wwwroot/xiaoyi.vc/wp-content/themes/kratos-pjax-master/inc/imgcfg.php on line 64
WordPress 函数:wp_kses_version

WordPress 函数:wp_kses_version

这个函数返回当前版本 WordPress 使用的 KSES 的版本号。 用法 <?php wp_kses_version() ?> 参数 None 返回值 (string) KSES 版本号 修改记录 Sin…


Warning: Trying to access array offset on value of type bool in /www/wwwroot/xiaoyi.vc/wp-content/themes/kratos-pjax-master/inc/imgcfg.php on line 64
WordPress 函数:wp_kses_stripslashes

WordPress 函数:wp_kses_stripslashes

去掉引号前面的斜线。 这个函数只是将 \" 改成呢 ",然后不处理其他斜线,这样看起来很奇怪,这是因为 preg_replace(//e) 中的引号需要这样处理。 用法 <?php wp_kses_stripsla…


Warning: Trying to access array offset on value of type bool in /www/wwwroot/xiaoyi.vc/wp-content/themes/kratos-pjax-master/inc/imgcfg.php on line 64
WordPress 函数:wp_kses_split2

WordPress 函数:wp_kses_split2

wp_kses_split()调用它用来修正格式错误的 HTML 标签。 它摒弃了一些非常畸形的标签,如<:::>,如果 HTML 元素不被允许,就返回一个空字符串,否则,这个元素将被分拆成元素和它的属性列表…


Warning: Trying to access array offset on value of type bool in /www/wwwroot/xiaoyi.vc/wp-content/themes/kratos-pjax-master/inc/imgcfg.php on line 64
WordPress 函数:wp_kses_split

WordPress 函数:wp_kses_split

搜索 HTML 标签,无论多么畸形。 也会匹配单独的 ">" 字符。 用法 <?php wp_kses_split( $string, $allowed_html, $allowed_protocols ) …


Warning: Trying to access array offset on value of type bool in /www/wwwroot/xiaoyi.vc/wp-content/themes/kratos-pjax-master/inc/imgcfg.php on line 64
WordPress 函数:wp_kses_normalize_entities2

WordPress 函数:wp_kses_normalize_entities2

wp_kses_normalize_entities()中的正则表达式回调函数。 这个函数保证 wp_kses_normalize_entities() 对于 &#number; 类型的实体只接受 16 位的值。…


Warning: Trying to access array offset on value of type bool in /www/wwwroot/xiaoyi.vc/wp-content/themes/kratos-pjax-master/inc/imgcfg.php on line 64
WordPress 函数:wp_kses_normalize_entities

WordPress 函数:wp_kses_normalize_entities

转换和修正 HTML 实体。 这个函数恢复正常的 HTML 实体,它把 'AT&T' 转换成正确的 'AT&amp;T', '&#00058;' => '&#58;', '&…


Warning: Trying to access array offset on value of type bool in /www/wwwroot/xiaoyi.vc/wp-content/themes/kratos-pjax-master/inc/imgcfg.php on line 64
WordPress 函数:wp_kses_js_entities

WordPress 函数:wp_kses_js_entities

移除在早期 Netscape 4 浏览器中发现的 HTML JavaScript 实体。 用法 <?php wp_kses_js_entities( $string ) ?> 参数 $string (stri…


Warning: Trying to access array offset on value of type bool in /www/wwwroot/xiaoyi.vc/wp-content/themes/kratos-pjax-master/inc/imgcfg.php on line 64
WordPress 函数:wp_kses_html_error

WordPress 函数:wp_kses_html_error

处理 wp_kses_hair() 中的解析错误。 用法 <?php wp_kses_html_error( $string ) ?> 参数 $string (string) (required) Defau…


Warning: Trying to access array offset on value of type bool in /www/wwwroot/xiaoyi.vc/wp-content/themes/kratos-pjax-master/inc/imgcfg.php on line 64
WordPress 函数:wp_kses_hook

WordPress 函数:wp_kses_hook

通过这个函数添加任意的 kses hook。 目前唯一的一个 kses WordPress hook 就是这里调用的,所有的参数都会传递给 pre_kses 这个 hook,并且返回的是字符串。 用法 <?php …