BBP_Akismet::get_post_history( int $post_id )

Get the Akismet history of a Post


Description Description


Parameters Parameters

$post_id

(Required)


Top ↑

Return Return

(array) Array of Akismet history


Top ↑

Source Source

File: includes/extend/akismet.php

	public function get_post_history( $post_id = 0 ) {

		// Retrieve any previous history
		$history = get_post_meta( $post_id, '_bbp_akismet_history' );

		// Sort it by the time recorded
		usort( $history, 'akismet_cmp_time' );

		return $history;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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