The What
Description
The intent of this function is to build the HTML attributes and microdata markup. It parses the attributes by the context, if there are any, loops through and assembles them into the proper format, filters them with genesis_attr_{$context}_output"
, and then returns the markup to the calling code.
Parameters
context
- optional An array of configuration arguments, which define which markup, content, and whether to echo out (render) the HTML to the browser.
attributes
- optional An array of attributes, keyed by the attribute. The default is an empty array.
Return Values
Returns a the markup HTML string.
You will grow in this profession when you incrementally and systematically stretch yourself....bit-by-bit.
More coming soon…keep checking back.