Topic on Manual talk:Hooks/OutputPageBodyAttributes

Adding an empty attribute

1
GreenReaper (talkcontribs)

It'd be nice to be able to set just 'itemprop' (for Schema.org) rather than 'itemprop=""'. I tried setting the attribute equal to null and FALSE but these did not work for this purpose - you seem to need an empty string.

Reply to "Adding an empty attribute"