BP_Email::get_content_html( string $transform = 'raw' )

Get the email content (in HTML).


Description Description

Unlike most other methods in this class, this one is not chainable.


Parameters Parameters

$transform

(Optional) How to transform the return value. Accepts 'raw' (default) or 'replace-tokens'.

Default value: 'raw'


Top ↑

Return Return

(string) HTML email content.


Top ↑

Source Source

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

	public function get_content_html( $transform = 'raw' ) {
		return $this->get( 'content_html', $transform );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.