BP_Button::contents()

Return the markup for the generated button.

Description

Return

(string) Button markup.

Source

File: bp-core/classes/class-bp-button.php

	public function contents() {
		return $this->contents;
	}

Changelog

Changelog
Version Description
BuddyPress 1.2.6 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.