BP_Email::get_post_object( $transform = 'raw' )

Get the Post associated with the email.

Description

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

Return

(WP_Post) The post.

Source

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

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

Changelog

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