Skip to content

miva_html_strip()#

Syntax
miva_html_strip( text, allowed_tags )

Returns#

Return value: Text string with all HTML tags except those listed in allowed_tags removed.

Parameters#

Parameter Description
text String to remove HTML tags from.
allowed_tags A comma-separated list of tags that will not be stripped from the string.