Builds a string of HTML attributes from an array of key/value pairs.
Description
Empty values are ignored.
Parameters
$atts
arrayoptional- An array of HTML attribute key/value pairs.
Default:
array()
Source
$n = '';
} else {
$t = "\t";
$n = "\n";
}
$output .= "</li>{$n}";
}
/**
* Builds a string of HTML attributes from an array of key/value pairs.
Changelog
Version | Description |
---|---|
6.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.