Core Function
View Source on Trac ↗ get_tag_regex()
get_tag_regex( mixed $tag ) Returns RegEx body to liberally match an opening HTML tag.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $tag string | An HTML tag name. Example: 'video'. Required |
Return Value
(string)
Tag RegEx.
Function Information
Since Version
3.6.0
Source File
wp-includes/functions.php
Advertisement