发布时间:2020-09-17
WordPress 常用函数 / get_shortcode_regex,
返回用来查找短代码的正则表达式。
这个函数将所有已经注册的短代码的标签组合成一个单一的正则表达式。
<?php get_shortcode_regex(); ?>
无
(string)
搜索短代码的正则表达式
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
Since: 2.5
wp-includes/shortcodes.php
全站搜索