A filter to add custom support statuses (version 2.x)
An example of use is displayed below, use it in your plugin or in the functions.php file of your theme.
function functionprefix_custom_status( $allstatus = array() ) {
$allstatus['topic-working-on-it'] = array(
'sb-caption' => __( 'Working on it', 'buddy-bbpress-support-topic' ),
'value' => 1,
'prefix-title' => __( '[Working on it] ', 'buddy-bbpress-support-topic' ),
'admin_class' => 'waiting'
);
$allstatus['topic-also-working-on-it'] = array(
'sb-caption' => __( 'Also working on it', 'buddy-bbpress-support-topic' ),
'value' => 2,
'prefix-title' => __( '[Also working on it] ', 'buddy-bbpress-support-topic' ),
'admin_class' => 'waiting'
);
return $allstatus;
}
add_filter( 'bpbbpst_get_support_status', 'functionprefix_custom_status', 10, 0 );
Maybe you can play around with that?!