tag_attributes

View-related functions

Summary

tag_attributes(array|string $attributes, string $value)

Generate attributes for HTML tags.

Parameters:
  • $attributes (array|string) – Attributes for the tag. If this is a string, it will assign both ‘name’ and ‘id’ attributes that value for the tag.
  • $value (string) –
Returns:

string

Usage

Examples

See Also

Project Versions

Table Of Contents

Previous topic

is_admin_theme

Next topic

Body-related functions

This Page