get_shortcode_atts_regex()
最后更新于:2021-11-27 00:13:54
get_shortcode_atts_regex()Retrieve the shortcode attributes regex.
响应
(string) The shortcode attribute regular expression
源文件
文件: gc-includes/shortcodes.php
function get_shortcode_atts_regex() {
return '/([w-]+)s*=s*"([^"]*)"(?:s|$)|([w-]+)s*=s*'([^']*)'(?:s|$)|([w-]+)s*=s*([^s'"]+)(?:s|$)|"([^"]*)"(?:s|$)|'([^']*)'(?:s|$)|(S+)(?:s|$)/';
}