The What
Description
The intent of this function is to first assign the context as a class
attribute and then to merge the markup’s attributes with the defaults. The attributes are then filtered using genesis_attr_{$context}
. The filtered array is then returned to the caller.
Parameters
context
- The context for this markup, which is then assigned as a
class
attribute. attributes
- optional An array of attributes, keyed by the attribute. The default is an empty array.
Return Values
Returns an array of the filtered markup attributes.
There’s a time to code and …. yup, that sums it up.
More coming soon…keep checking back.