bbp_topic_post_date( int $topic_id, bool $humanize = false, bool $gmt = false )

Output the post date and time of a topic

Description

Parameters

$topic_id

(int) (Optional) Topic id.

$humanize

(bool) (Optional) Humanize output using time_since

Default value: false

$gmt

(bool) (Optional) Use GMT

Default value: false

Source

File: bp-forums/topics/template.php

function bbp_topic_post_date( $topic_id = 0, $humanize = false, $gmt = false ) {
	echo bbp_get_topic_post_date( $topic_id, $humanize, $gmt );
}

Changelog

Changelog
Version Description
bbPress (r4155) 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.