body_tag

Body-related functions

Summary

body_tag(array $attributes = Array)

Returns a <body> tag with attributes.

Attributes can be filtered using the ‘body_tag_attributes’ filter.

Parameters:
  • $attributes (array) –
Returns:

string An HTML <body> tag with attributes and their values.

Usage

Examples

See Also

Project Versions

Table Of Contents

Previous topic

all_element_texts

Next topic

browse_sort_links

This Page