Core Function
View Source on Trac ↗ _get_wptexturize_shortcode_regex()
_get_wptexturize_shortcode_regex( mixed $tagnames ) Retrieves the regular expression for shortcodes.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $tagnames string[] | Array of shortcodes to find. Required |
Return Value
(string)
The regular expression.
Function Information
Since Version
4.4.0
Source File
wp-includes/formatting.php
Advertisement