Core Function
View Source on Trac ↗ _wptexturize_pushpop_element()
_wptexturize_pushpop_element( mixed $text, mixed $stack, mixed $disabled_elements ) Searches for disabled element tags. Pushes element to stack on tag open
Parameters 3 required
| Name / Type | Description |
|---|---|
| $text string | Text to check. Must be a tag like `<html>` or `[shortcode]`. Required |
| $stack string[] | Array of open tag elements. Required |
| $disabled_elements string[] | Array of tag names to match against. Spaces are not allowed in tag names. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
2.9.0
Source File
wp-includes/formatting.php
Advertisement