wordpress 函数:esc-云顶国际 2017年6月25日 48.17k人感兴趣 将元素中的文本编码成 html 实体。已经是 html实体中的 & 还会再次被编码!</p><h2>用法</h2><pre class="pure-highlightjs"><code class=""><?php esc_textarea( $text ); ?></code></pre><h2>参数</h2><p><strong>$text</strong><br /> (string) (required) 将编码成实体的文本。<br /> default: 无</p><h2>返回值</h2><p><strong>(string) </strong><br /> 已经编码成 html 实体的文本。</p><h2>修改记录</h2><p>since: 3.1</p><h2>源文件</h2><p>wp-includes/formatting.php</p></div><div class="kratos-云顶国际 copyright text-center clearfix"> <h5>© 本文著作权归作者 <a target="_blank" href="https://xiaoyi.vc/">[小羿] </a> 未经许可,不得转载使用。</h5></div><footer class="kratos-entry-footer clearfix"><div class="post-like-donate text-center clearfix" id="post-like-donate"><a href="javascript:;" class="donate"><i class="fa fa-bitcoin"></i> 打赏</a></div><div class="footer-tag clearfix"><div class="pull-left"> <i class="fa fa-tags"></i> <a href="https://xiaoyi.vc/tag/wordpress" rel="tag">wordpress</a> <a href="https://xiaoyi.vc/tag/函数" rel="tag">函数</a></div><div class="pull-date"> <span>最后编辑:2018年4月15日</span></div></div> </footer></div><nav class="navigation post-navigation clearfix" role="navigation"><div class="nav-previous clearfix"> <a title="wordpress 函数:esc_sql" href="https://xiaoyi.vc/wordpress-esc-sql.html">< 上一篇</a></div><div class="nav-next"> <a title="wordpress 函数:esc_url" href="https://xiaoyi.vc/wordpress-esc-url.html">下一篇 ></a></div></nav></article></section></div></div></div><footer><div id="footer" style="background:rgba(35,40,45,1)"><div class="container"><div class="row"><div class="col-md-6 col-md-offset-3 footer-list text-center"><p class="kratos-social-icons"></p><p> © 2024 <a href="https://xiaoyi.vc">小羿</a> all rights reserved <br /> yd77699云顶国际的友情链接:<a href="https://x1g.la/" target="_blank">下1个好软件</a> | <a href="https://wordpressjc.com/" target="_blank">wordpress教程</a> | <a href="https://blog.naibabiji.com/" target="_blank">建站笔记</a> | <a href="https://www.yougaoji.com/">有搞机</a> | <a href="https://tmioe.com/" target="_blank">杂铺</a> | <a href="https://www.cmdpe.com/" target="_blank">cmdpe-网络版</a> | <a href="https://mtomoving.com/" target="_blank">美通搬家</a> | <a href="https://www.ainavpro.com/" target="_blank">ai导航</a> | <a href="https://xiaoyi.vc/sitemap.html" target="_blank">sitemap</a></p></div></div></div><div class="cd-tool text-center"><div class="gotop-box2 gotop-box"><div class="gotop-btn"><span class="fa fa-chevron-up"></span></div></div><div id="wechat-img" class="wechat-img"><span class="fa fa-weixin"></span><div id="wechat-pic"><img src="https://www.xiaoyi.vc/wp-content/uploads/2022/02/1645870506-1615112762-xia1gewechat.png"></div></div><div class="search-box"> <span class="fa fa-search"></span><form class="search-form" role="search" method="get" id="searchform" action="https://xiaoyi.vc/"> <input type="text" name="s" id="search" placeholder="search..." style="display:none"/></form></div></div></div></footer></div></div> <noscript><style>.lazyload{display:none;}</style></noscript><script data-noptimize="1">window.lazysizesconfig=window.lazysizesconfig||{};window.lazysizesconfig.loadmode=1;</script><script async data-noptimize="1" src='https://xiaoyi.vc/wp-content/plugins/autoptimize/classes/external/js/lazysizes.min.js'></script><script type="text/javascript" id="flying-pages-js-before">window.fpconfig= { delay: 0, ignorekeywords: ["\/wp-admin","\/wp-login.php","\/cart","\/checkout","add-to-cart","logout","#","?",".gif",".svg",".webp",".png",".jpeg"], maxrps: 3, hoverdelay: 0 };</script> <script type="text/javascript" src="https://xiaoyi.vc/wp-content/plugins/flying-pages/flying-pages.min.js" id="flying-pages-js" defer></script> <script type="text/javascript" src="https://xiaoyi.vc/wp-content/themes/kratos-pjax-master/static/js/theme.min.js" id="theme-js"></script> <script type="text/javascript" id="kratos-js-extra">var xb = {"thome":"https:\/\/xiaoyi.vc\/wp-content\/themes\/kratos-pjax-master","ctime":"","alipay":"https:\/\/www.xiaoyi.vc\/wp-content\/uploads\/2023\/02\/1677246911-zfb-mm.png","wechat":"https:\/\/www.xiaoyi.vc\/wp-content\/uploads\/2023\/02\/1677246902-wechat-mm.png","copy":"","ajax_url":"https:\/\/xiaoyi.vc\/wp-admin\/admin-ajax.php","order":"asc","owo":"https:\/\/xiaoyi.vc\/wp-content\/themes\/kratos-pjax-master","site_sh":null};</script> <script type="text/javascript" src="https://xiaoyi.vc/wp-content/cache/autoptimize/autoptimize_single_a955be7d0e4840e720967159c55cc855.php" id="kratos-js"></script> </body></html>