bbp_get_reply_statuses( int $reply_id )

Return an associative array of available reply statuses


Description Description


Parameters Parameters

$reply_id

(Optional) Reply id.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/replies/functions.php

function bbp_get_reply_statuses( $reply_id = 0 ) {

	// Filter & return
	return (array) apply_filters( 'bbp_get_reply_statuses', array(
		bbp_get_public_status_id()  => _x( 'Publish', 'Publish the reply',     'bbpress' ),
		bbp_get_spam_status_id()    => _x( 'Spam',    'Spam the reply',        'bbpress' ),
		bbp_get_trash_status_id()   => _x( 'Trash',   'Trash the reply',       'bbpress' ),
		bbp_get_pending_status_id() => _x( 'Pending', 'Mark reply as pending', 'bbpress' )
	), $reply_id );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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