It was brought to our attention that MasterPress would give a tonne of warnings and deprecation notices when used with PHP 7.4 – this update addresses those.
Generates an enitre HTML tag with opening tag, text, and closing tag for a given tag name. Note that if no text is specified, this tag will be assumed to be self closing, and will have the same effect as calling the WOOF_HTML::open.
The tag name (do not include the angled brackets)
An arguments Array or String of HTML attributes to include in the tag
String $text = null
The text inside the HTML tag, which could be plain text, or other HTML tags.
Boolean $empty_attr = false
If true, attributes that are empty will be included in the HTML.