BP_Core_HTML_Element::contents()

Returns full contents of HTML element.

Description

Return

(string)

Source

File: bp-core/classes/class-bp-core-html-element.php

	public function contents() {
		return $this->open_tag . $this->inner_html . $this->close_tag;
	}

Changelog

Changelog
Version Description
BuddyPress 2.7.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.