bbp_get_reply_statuses( int $reply_id )
Return an associative array of available reply statuses
Description Description
Parameters Parameters
- $reply_id
-
(Optional) Reply id.
Return Return
(array)
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 ); }
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |